Dateien hochladen nach „“

pull/47/head
positionhigh 4 years ago
parent 3e3eba914d
commit 49bf399334
  1. 34
      config.h

@ -92,8 +92,8 @@
//************************************************************************************************* //*************************************************************************************************
#define DEBUG 1 #define DEBUG 1
#define SERIAL_SPEED 230400 #define SERIAL_SPEED 230400
//#define SHOW_XRUN 1 #define SHOW_XRUN 1
//#define SHOW_CPU_LOAD_MSEC 5000 #define SHOW_CPU_LOAD_MSEC 5000
//************************************************************************************************* //*************************************************************************************************
//* DEXED AND EFFECTS SETTINGS //* DEXED AND EFFECTS SETTINGS
@ -103,7 +103,7 @@
#warning >>> Sorry, only one instance possible for Teensy-3.6 #warning >>> Sorry, only one instance possible for Teensy-3.6
#define NUM_DEXED 1 // 1 or 2 - nothing else! #define NUM_DEXED 1 // 1 or 2 - nothing else!
#else #else
#define NUM_DEXED 1 // 1 or 2 - nothing else! #define NUM_DEXED 2 // 1 or 2 - nothing else!
#endif #endif
// FX-CHAIN ENABLE/DISABLE // FX-CHAIN ENABLE/DISABLE
@ -242,13 +242,27 @@
// Encoder with button // Encoder with button
//#define ENCODER_USE_INTERRUPTS //#define ENCODER_USE_INTERRUPTS
#define NUM_ENCODER 2 #define NUM_ENCODER 2
#define ENC_L_PIN_A 26 #define ENC_L_PIN_A 3
#define ENC_L_PIN_B 25 #define ENC_L_PIN_B 2
#define BUT_L_PIN 31 #define BUT_L_PIN 4
#if defined(TEENSY3_6)
#define ENC_R_PIN_A 29 #define ENC_R_PIN_A 28
#define ENC_R_PIN_B 28 #define ENC_R_PIN_B 29
#define BUT_R_PIN 32 #define BUT_R_PIN 30
#else
#if defined(TEENSY4_0)
#define ENC_R_PIN_A 6
#define ENC_R_PIN_B 5
#define BUT_R_PIN 8
//#define ENC_R_PIN_A 17
//#define ENC_R_PIN_B 16
//#define BUT_R_PIN 5
#else // ARDUINO_TEENSY41
#define ENC_R_PIN_A 24
#define ENC_R_PIN_B 5
#define BUT_R_PIN 9
#endif
#endif
#define BUT_DEBOUNCE_MS 20 #define BUT_DEBOUNCE_MS 20
#define LONG_BUTTON_PRESS 500 #define LONG_BUTTON_PRESS 500

Loading…
Cancel
Save