|
|
@ -132,7 +132,7 @@ |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
// DELAYTIME
|
|
|
|
// DELAYTIME
|
|
|
|
#define USE_DELAY_8M 1 |
|
|
|
//#define USE_DELAY_8M 1
|
|
|
|
#if defined(USE_DELAY_8M) |
|
|
|
#if defined(USE_DELAY_8M) |
|
|
|
#define DELAY_MAX_TIME 5000 |
|
|
|
#define DELAY_MAX_TIME 5000 |
|
|
|
#else |
|
|
|
#else |
|
|
@ -222,16 +222,9 @@ |
|
|
|
#define SDCARD_AUDIO_CS_PIN 10 |
|
|
|
#define SDCARD_AUDIO_CS_PIN 10 |
|
|
|
#define SDCARD_AUDIO_MOSI_PIN 7 |
|
|
|
#define SDCARD_AUDIO_MOSI_PIN 7 |
|
|
|
#define SDCARD_AUDIO_SCK_PIN 14 |
|
|
|
#define SDCARD_AUDIO_SCK_PIN 14 |
|
|
|
#if defined(ARDUINO_TEENSY41) |
|
|
|
|
|
|
|
// Teensy 3.6 & 4.1 internal SD card
|
|
|
|
|
|
|
|
#define SDCARD_TEENSY_CS_PIN BUILTIN_SDCARD |
|
|
|
#define SDCARD_TEENSY_CS_PIN BUILTIN_SDCARD |
|
|
|
#define SDCARD_TEENSY_MOSI_PIN 11 |
|
|
|
#define SDCARD_TEENSY_MOSI_PIN 11 |
|
|
|
#define SDCARD_TEENSY_SCK_PIN 13 |
|
|
|
#define SDCARD_TEENSY_SCK_PIN 13 |
|
|
|
#else |
|
|
|
|
|
|
|
#define SDCARD_TEENSY_CS_PIN 10 |
|
|
|
|
|
|
|
#define SDCARD_TEENSY_MOSI_PIN 11 |
|
|
|
|
|
|
|
#define SDCARD_TEENSY_SCK_PIN 13 |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Encoder with button
|
|
|
|
// Encoder with button
|
|
|
|
//#define ENCODER_USE_INTERRUPTS
|
|
|
|
//#define ENCODER_USE_INTERRUPTS
|
|
|
|