Skip to content

Commit c172373

Browse files
committed
Fixed pin assignment for pins 11, 12 and 13
1 parent 51ae439 commit c172373

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

variants/uno2018/pins_arduino.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,9 @@ const uint8_t PROGMEM digital_pin_to_port[] = {
179179
PE, //8 PE3
180180
PB, //9 PB0
181181
PB, //10 PB1
182-
PC, //11 PC0
183-
PC, //12 PC1
184-
PC, //13 PC2
182+
PE, //11 PE0
183+
PE, //12 PE1
184+
PE, //13 PE2
185185
PD, //14 AI0 PD0
186186
PD, //15 AI1 PD1
187187
PD, //16 AI2 PD2
@@ -200,9 +200,9 @@ const uint8_t PROGMEM digital_pin_to_port[] = {
200200
PA, // 29 PA7
201201
PB, // 30 PB3
202202
PC, // 31 PC7
203-
PE, // 32 PE0
204-
PE, // 33 PE1
205-
PE, // 34 PE2
203+
PC, // 32 PC0
204+
PC, // 33 PC1
205+
PC, // 34 PC2
206206
PF, // 35 PF2
207207
PF, // 36 PF3
208208
PF, // 37 PF0 TOSC 1
@@ -224,9 +224,9 @@ const uint8_t PROGMEM digital_pin_to_bit_position[] = {
224224
PIN3_bp, //8 PE3
225225
PIN0_bp, //9 PB0
226226
PIN1_bp, //10 PB1
227-
PIN0_bp, //11 PC0
228-
PIN1_bp, //12 PC1
229-
PIN2_bp, //13 PC2
227+
PIN0_bp, //11 PE0
228+
PIN1_bp, //12 PE1
229+
PIN2_bp, //13 PE2
230230
PIN0_bp, //14 AI0 PD0
231231
PIN1_bp, //15 AI1 PD1
232232
PIN2_bp, //16 AI2 PD2
@@ -245,9 +245,9 @@ const uint8_t PROGMEM digital_pin_to_bit_position[] = {
245245
PIN7_bp, // 29 PA7
246246
PIN3_bp, // 30 PB3
247247
PIN7_bp, // 31 PC7
248-
PIN0_bp, // 32 PE0
249-
PIN1_bp, // 33 PE1
250-
PIN2_bp, // 34 PE2
248+
PIN0_bp, // 32 PC0
249+
PIN1_bp, // 33 PC1
250+
PIN2_bp, // 34 PC2
251251
PIN2_bp, // 35 PF2
252252
PIN3_bp, // 36 PF3
253253
PIN0_bp, // 37 PF0 TOSC 1

0 commit comments

Comments
 (0)