Added MCP23S17 support as well as changed some pins and added more de-bouncing for the buttons.
This commit is contained in:
@ -25,7 +25,8 @@
|
||||
|
||||
#define PIN_SD_CS D4
|
||||
#define PIN_VS1053_XCS D8
|
||||
#define PIN_VS1053_XRESET D3
|
||||
#define PIN_VS1053_XRESET 16
|
||||
#define PIN_MCP D3
|
||||
#define PIN_VS1053_XDCS D1
|
||||
#define PIN_VS1053_DREQ D2
|
||||
#define PIN_RC522_CS D0
|
||||
@ -35,7 +36,9 @@
|
||||
#define PIN_BTN_TRACK_NEXT D6
|
||||
#define PIN_BTN_TRACK_PREV D7
|
||||
|
||||
#define DEBOUNCE_MILLIS 100
|
||||
#define NUM_BUTTONS 4
|
||||
|
||||
#define DEBOUNCE_MILLIS 200
|
||||
#define VOLUME_DEFAULT 0xA0
|
||||
#define VOLUME_MIN 0x60
|
||||
#define VOLUME_MAX 0xC0
|
||||
|
Reference in New Issue
Block a user