Merge pull request #442 from adafruit/clue-play

enhance Clue support
This commit is contained in:
Ha Thach authored and GitHub committed 2020-02-19 20:33:00 +07:00
commit 7b8d3e1f41
32 files changed
+798 -132

No files matched your search

@@ -54,14 +54,17 @@ extern "C"
#define LED_STATE_ON 1 // State when LED is litted
// Buttons
#define PIN_BUTTON1 (4)
#define PIN_BUTTON2 (5)
#define PIN_BUTTON1 (4) // Button A (Left)
#define PIN_BUTTON2 (5) // Button B (Right)
// Microphone
#define PIN_PDM_DIN 24
#define PIN_PDM_CLK 25
#define PIN_PDM_PWR -1 // not used
// Buzzer
#define PIN_BUZZER 12
/*
* Analog pins
*/
+5 -2
View File
@@ -52,14 +52,17 @@ extern "C"
#define LED_STATE_ON 1 // State when LED is litted
// Buttons
#define PIN_BUTTON1 (5)
#define PIN_BUTTON2 (11)
#define PIN_BUTTON1 (5) // Button A
#define PIN_BUTTON2 (11) // Button B
// Microphone
#define PIN_PDM_DIN 35
#define PIN_PDM_CLK 36
#define PIN_PDM_PWR -1 // not used
// Buzzer
#define PIN_BUZZER 46
/*
* Analog pins
*/