File tree Expand file tree Collapse file tree 2 files changed +16
-17
lines changed Expand file tree Collapse file tree 2 files changed +16
-17
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ const uint32_t g_ADigitalPinMap[] =
5353 _PINNUM (0 , 18 ), // P0.18 (RESET)
5454
5555 // LEDS
56- _PINNUM (1 , 12 ), // P1.12 (PRIMARY_LED)
5756 _PINNUM (0 , 13 ), // P0.13 (RGB_RED)
5857 _PINNUM (0 , 14 ), // P0.14 (RGB_GREEN)
5958 _PINNUM (0 , 15 ), // P0.15 (RGB_BLUE)
Original file line number Diff line number Diff line change @@ -97,16 +97,16 @@ static const uint8_t D20 = PIN_D20;
9797
9898#define BOARD_RGB_BRIGHTNESS 0x202020
9999
100- #define PIN_LED1 (22 )
100+ #define PIN_LED1 (7 )
101101#define LED_BUILTIN PIN_LED1
102102#define LED_CONN PIN_LED1
103103
104104#define LED_RED PIN_LED1
105105#define LED_BLUE PIN_LED1
106106
107- static const uint8_t LED_RGB_RED = (23 );
108- static const uint8_t LED_RGB_GREEN = (24 );
109- static const uint8_t LED_RGB_BLUE = (25 );
107+ static const uint8_t LED_RGB_RED = (22 );
108+ static const uint8_t LED_RGB_GREEN = (23 );
109+ static const uint8_t LED_RGB_BLUE = (24 );
110110
111111// Buttons
112112#define BUTTONS_NUMBER 2
@@ -117,24 +117,24 @@ static const uint8_t LED_RGB_BLUE = (25);
117117static const uint8_t BUTTON_MODE = (20 );
118118
119119// Antenna
120- #define ANTENNA_SWITCH_1 (26 )
121- #define ANTENNA_SWITCH_2 (27 )
120+ #define ANTENNA_SWITCH_1 (25 )
121+ #define ANTENNA_SWITCH_2 (26 )
122122
123123// NFC
124- #define NFC1 (28 )
125- #define NFC2 (29 )
124+ #define NFC1 (27 )
125+ #define NFC2 (28 )
126126
127127/*
128128 * Analog pins
129129 */
130- #define PIN_A0 (30 )
131- #define PIN_A1 (31 )
132- #define PIN_A2 (32 )
133- #define PIN_A3 (33 )
134- #define PIN_A4 (34 )
135- #define PIN_A5 (35 )
136- #define PIN_A6 (36 )
137- #define PIN_A7 (37 )
130+ #define PIN_A0 (29 )
131+ #define PIN_A1 (30 )
132+ #define PIN_A2 (31 )
133+ #define PIN_A3 (32 )
134+ #define PIN_A4 (33 )
135+ #define PIN_A5 (34 )
136+ #define PIN_A6 (35 )
137+ #define PIN_A7 (36 )
138138
139139static const uint8_t A0 = PIN_A0 ;
140140static const uint8_t A1 = PIN_A1 ;
You can’t perform that action at this time.
0 commit comments