File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
circuitplayground_nrf52840 Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -54,14 +54,17 @@ extern "C"
54
54
#define LED_STATE_ON 1 // State when LED is litted
55
55
56
56
// Buttons
57
- #define PIN_BUTTON1 (4)
58
- #define PIN_BUTTON2 (5)
57
+ #define PIN_BUTTON1 (4) // Button A (Left)
58
+ #define PIN_BUTTON2 (5) // Button B (Right)
59
59
60
60
// Microphone
61
61
#define PIN_PDM_DIN 24
62
62
#define PIN_PDM_CLK 25
63
63
#define PIN_PDM_PWR -1 // not used
64
64
65
+ // Buzzer
66
+ #define PIN_BUZZER 12
67
+
65
68
/*
66
69
* Analog pins
67
70
*/
Original file line number Diff line number Diff line change @@ -52,14 +52,17 @@ extern "C"
52
52
#define LED_STATE_ON 1 // State when LED is litted
53
53
54
54
// Buttons
55
- #define PIN_BUTTON1 (5)
56
- #define PIN_BUTTON2 (11)
55
+ #define PIN_BUTTON1 (5) // Button A
56
+ #define PIN_BUTTON2 (11) // Button B
57
57
58
58
// Microphone
59
59
#define PIN_PDM_DIN 35
60
60
#define PIN_PDM_CLK 36
61
61
#define PIN_PDM_PWR -1 // not used
62
62
63
+ // Buzzer
64
+ #define PIN_BUZZER 46
65
+
63
66
/*
64
67
* Analog pins
65
68
*/
You can’t perform that action at this time.
0 commit comments