diff --git a/src/main.cpp b/src/main.cpp index 54da8de..4d4cc3f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -21,9 +21,11 @@ #define band A1 //The pin used by band selector push button. #define rx_tx A2 //The pin used by RX / TX selector switch, RX = switch open, TX = switch closed to GND. When in TX, the IF value is not considered. #define adc A3 //The pin used by Signal Meter A/D input. +#define rotary1 2 //First pin for rotary encoder. +#define rotary2 3 //Second pin for rotary encoder. //------------------------------------------------------------------------------------------------------------ -Rotary r = Rotary(2, 3); +Rotary r = Rotary(rotary1, rotary2); Adafruit_SSD1306 display = Adafruit_SSD1306(128, 64, &Wire); Si5351 si5351(0x60); //Si5351 I2C Address 0x60