Skip to content

Commit 84b6f46

Browse files
committed
add extra IRQ/light pins
1 parent 85a9711 commit 84b6f46

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

variants/clue_nrf52840/variant.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ const uint32_t g_ADigitalPinMap[] =
7777
22, // D40 is P0.22 (QSPI Data 1)
7878
23, // D41 is P0.23 (QSPI Data 2)
7979
21, // D42 is P0.21 (QSPI Data 3)
80+
81+
10, // D43 is P0.10 white LED control
82+
9, // D44 is P0.09 APDS IRQ
83+
38, // D45 is P1.06 LSM6DS33 IRQ
8084
};
8185

8286
void initVariant()

variants/clue_nrf52840/variant.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121

2222
/** Master clock frequency */
2323
#define VARIANT_MCK (64000000ul)
24-
25-
//#define USE_LFXO // Board uses 32khz crystal for LF
2624
#define USE_LFRC // Board uses RC for LF
2725

2826
/*----------------------------------------------------------------------------
@@ -37,8 +35,8 @@ extern "C"
3735
#endif // __cplusplus
3836

3937
// Number of pins defined in PinDescription array
40-
#define PINS_COUNT (43)
41-
#define NUM_DIGITAL_PINS (43)
38+
#define PINS_COUNT (46)
39+
#define NUM_DIGITAL_PINS (46)
4240
#define NUM_ANALOG_INPUTS (8)
4341
#define NUM_ANALOG_OUTPUTS (0)
4442

0 commit comments

Comments
 (0)