Fix: wrong encoder buttons used for T_4.1.

dev
Holger Wirtz 3 years ago
parent 6dc4190d92
commit c944ffa1e3
  1. 7
      config.h

@ -301,20 +301,15 @@
#define ENC_R_PIN_A 28
#define ENC_R_PIN_B 29
#define BUT_R_PIN 30
#else
#if defined(ARDUINO_TEENSY40) || defined(ARDUINO_TEENSY41)
#elif defined(ARDUINO_TEENSY40)
#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_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

Loading…
Cancel
Save