Holger Wirtz 2 years ago
parent eefc261c42
commit 7a9bb2b3c9
  1. 2
      MicroDexed.ino
  2. 9
      config.h

@ -675,9 +675,7 @@ void loop() {
ENCODER[ENC_L].update(); ENCODER[ENC_L].update();
ENCODER[ENC_R].update(); ENCODER[ENC_R].update();
#ifdef ENABLE_LCD_UI
LCDML.loop(); LCDML.loop();
#endif
// CONTROL-RATE-EVENT-HANDLING // CONTROL-RATE-EVENT-HANDLING
if (control_rate > CONTROL_RATE_MS) { if (control_rate > CONTROL_RATE_MS) {

@ -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

Loading…
Cancel
Save