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