Skip to content

Commit 62e113f

Browse files
committed
add power switch pin
1 parent be18594 commit 62e113f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

variants/circuitplayground_nrf52840/variant.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ const uint32_t g_ADigitalPinMap[] =
6969
32, // D33 is P1.00 (QSPI Data 2)
7070
22, // D34 is P0.22 (QSPI Data 3)
7171

72-
72+
// D35 power switch
73+
6, // D36 is P0.06 (NeoPixel / Sensor switch)
7374
};
7475

7576
void initVariant()

variants/circuitplayground_nrf52840/variant.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ extern "C"
3737
#endif // __cplusplus
3838

3939
// Number of pins defined in PinDescription array
40-
#define PINS_COUNT (35)
41-
#define NUM_DIGITAL_PINS (35)
40+
#define PINS_COUNT (36)
41+
#define NUM_DIGITAL_PINS (36)
4242
#define NUM_ANALOG_INPUTS (8)
4343
#define NUM_ANALOG_OUTPUTS (0)
4444

0 commit comments

Comments
 (0)