Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3737f45

Browse filesBrowse files
committed
Fix A6/A7 swapped on NANOEvery
Fixes #38
1 parent e2b3d6d commit 3737f45
Copy full SHA for 3737f45

File tree

Expand file treeCollapse file tree

1 file changed

+10
-10
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+10
-10
lines changed

‎variants/nona4809/pins_arduino.h

Copy file name to clipboardExpand all lines: variants/nona4809/pins_arduino.h
+10-10Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ const uint8_t PROGMEM digital_pin_to_port[] = {
163163
PD, // 17 PD0/AI0
164164
PF, // 18 PF2/AI12
165165
PF, // 19 PF3/AI13
166-
PD, // 20 PD5/AI5
167-
PD, // 21 PD4/AI4
166+
PD, // 20 PD4/AI4
167+
PD, // 21 PD5/AI5
168168
PA, // 22 PA2/TWI_SDA
169169
PA, // 23 PA3/TWI_SCL
170170
PB, // 24 PB5/USART3_Rx
@@ -193,8 +193,8 @@ const uint8_t PROGMEM digital_pin_to_bit_position[] = {
193193
PIN0_bp, // 17 PD0/AI0
194194
PIN2_bp, // 18 PF2/AI12
195195
PIN3_bp, // 19 PF3/AI13
196-
PIN5_bp, // 20 PD5/AI5
197-
PIN4_bp, // 21 PD4/AI4
196+
PIN4_bp, // 20 PD4/AI4
197+
PIN5_bp, // 21 PD5/AI5
198198
PIN2_bp, // 22 PA2/TWI_SDA
199199
PIN3_bp, // 23 PA3/TWI_SCL
200200
PIN5_bp, // 24 PB5/USART3_Rx
@@ -223,8 +223,8 @@ const uint8_t PROGMEM digital_pin_to_bit_mask[] = {
223223
PIN0_bm, // 17 PD0/AI0
224224
PIN2_bm, // 18 PF2/AI12
225225
PIN3_bm, // 19 PF3/AI13
226-
PIN5_bm, // 20 PD5/AI5
227-
PIN4_bm, // 21 PD4/AI4
226+
PIN4_bm, // 20 PD4/AI4
227+
PIN5_bm, // 21 PD5/AI5
228228
PIN2_bm, // 22 PA2/TWI_SDA
229229
PIN3_bm, // 23 PA3/TWI_SCL
230230
PIN5_bm, // 24 PB5/USART3_Rx
@@ -252,8 +252,8 @@ const uint8_t PROGMEM digital_pin_to_timer[] = {
252252
NOT_ON_TIMER, // 17 PD0/AI0
253253
NOT_ON_TIMER, // 18 PF2/AI12
254254
NOT_ON_TIMER, // 19 PF3/AI13
255-
NOT_ON_TIMER, // 20 PD5/AI5
256-
NOT_ON_TIMER, // 21 PD4/AI4
255+
NOT_ON_TIMER, // 20 PD4/AI4
256+
NOT_ON_TIMER, // 21 PD5/AI5
257257
NOT_ON_TIMER, // 22 PA2/TWI_SDA
258258
NOT_ON_TIMER, // 23 PA3/TWI_SCL
259259
NOT_ON_TIMER, // 24 PB5/USART3_Rx
@@ -267,8 +267,8 @@ const uint8_t PROGMEM analog_pin_to_channel[] = {
267267
0,
268268
12,
269269
13,
270-
5,
271-
4
270+
4,
271+
5
272272
};
273273

274274
#endif

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.