Skip to content

Commit 3c3659e

Browse files
committed
added speaker, moved mic
1 parent 0281dc8 commit 3c3659e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

variants/clue_nrf52840/variant.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ const uint32_t g_ADigitalPinMap[] =
6767
37, // P1.05 (TFT LITE)
6868

6969
// 35 & 36 - PDM mic
70-
40, // D35 is P1.08 (PDM DAT)
71-
11, // D36 is P0.11 (PDM CLK)
70+
0, // D35 is P0.00 (PDM DAT)
71+
1, // D36 is P0.01 (PDM CLK)
7272

7373
// QSPI pins (not exposed via any header / test point)
7474
19, // D37 is P0.19 (QSPI CLK)
@@ -81,6 +81,7 @@ const uint32_t g_ADigitalPinMap[] =
8181
10, // D43 is P0.10 white LED control
8282
9, // D44 is P0.09 APDS IRQ
8383
38, // D45 is P1.06 LSM6DS33 IRQ
84+
32, // D46 is P1.00 Speaker/buzzer
8485
};
8586

8687
void initVariant()

variants/clue_nrf52840/variant.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ extern "C"
3535
#endif // __cplusplus
3636

3737
// Number of pins defined in PinDescription array
38-
#define PINS_COUNT (46)
39-
#define NUM_DIGITAL_PINS (46)
38+
#define PINS_COUNT (47)
39+
#define NUM_DIGITAL_PINS (47)
4040
#define NUM_ANALOG_INPUTS (8)
4141
#define NUM_ANALOG_OUTPUTS (0)
4242

0 commit comments

Comments
 (0)