File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
variants/feather_nrf52840_express Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,9 @@ const uint32_t g_ADigitalPinMap[] =
7171 // The remaining NFC pin
7272 9 , // D33 is P0.09 (NFC1, exposed only via test point on bottom of board)
7373
74- // Thus, there are 34 defined pins
74+ 32 +14 , // D34 is P1.14
75+
76+ // Thus, there are 35 defined pins
7577
7678 // The remaining pins are not usable:
7779 //
@@ -92,7 +94,6 @@ const uint32_t g_ADigitalPinMap[] =
9294 // 43, // P1.11 is not connected per schematic
9395 // 44, // P1.12 is not connected per schematic
9496 // 45, // P1.13 is not connected per schematic
95- // 46, // P1.14 is not connected per schematic
9697};
9798
9899void initVariant ()
@@ -103,5 +104,8 @@ void initVariant()
103104
104105 pinMode (PIN_LED2, OUTPUT);
105106 ledOff (PIN_LED2);
107+
108+ pinMode (PIN_NEOPIXEL_POWER, OUTPUT);
109+ digitalWrite (PIN_NEOPIXEL_POWER, HIGH);
106110}
107111
Original file line number Diff line number Diff line change @@ -37,14 +37,15 @@ extern "C"
3737#endif // __cplusplus
3838
3939// Number of pins defined in PinDescription array
40- #define PINS_COUNT (34 )
41- #define NUM_DIGITAL_PINS (34 )
40+ #define PINS_COUNT (35 )
41+ #define NUM_DIGITAL_PINS (35 )
4242#define NUM_ANALOG_INPUTS (6) // A6 is used for battery, A7 is analog reference
4343#define NUM_ANALOG_OUTPUTS (0)
4444
4545// LEDs
4646#define PIN_LED1 (3)
4747#define PIN_LED2 (4)
48+ #define PIN_NEOPIXEL_POWER (34)
4849#define PIN_NEOPIXEL (8)
4950#define NEOPIXEL_NUM 1
5051
You can’t perform that action at this time.
0 commit comments