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[] =
71
71
// The remaining NFC pin
72
72
9 , // D33 is P0.09 (NFC1, exposed only via test point on bottom of board)
73
73
74
- // Thus, there are 34 defined pins
74
+ 32 +14 , // D34 is P1.14
75
+
76
+ // Thus, there are 35 defined pins
75
77
76
78
// The remaining pins are not usable:
77
79
//
@@ -92,7 +94,6 @@ const uint32_t g_ADigitalPinMap[] =
92
94
// 43, // P1.11 is not connected per schematic
93
95
// 44, // P1.12 is not connected per schematic
94
96
// 45, // P1.13 is not connected per schematic
95
- // 46, // P1.14 is not connected per schematic
96
97
};
97
98
98
99
void initVariant ()
@@ -103,5 +104,8 @@ void initVariant()
103
104
104
105
pinMode (PIN_LED2, OUTPUT);
105
106
ledOff (PIN_LED2);
107
+
108
+ pinMode (PIN_NEOPIXEL_POWER, OUTPUT);
109
+ digitalWrite (PIN_NEOPIXEL_POWER, HIGH);
106
110
}
107
111
Original file line number Diff line number Diff line change @@ -37,14 +37,15 @@ extern "C"
37
37
#endif // __cplusplus
38
38
39
39
// 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 )
42
42
#define NUM_ANALOG_INPUTS (6) // A6 is used for battery, A7 is analog reference
43
43
#define NUM_ANALOG_OUTPUTS (0)
44
44
45
45
// LEDs
46
46
#define PIN_LED1 (3)
47
47
#define PIN_LED2 (4)
48
+ #define PIN_NEOPIXEL_POWER (34)
48
49
#define PIN_NEOPIXEL (8)
49
50
#define NEOPIXEL_NUM 1
50
51
You can’t perform that action at this time.
0 commit comments