Try CesarSound VFO+OLED code #9

Merged
W1CDN merged 2 commits from cesarsound into main 2024-02-10 11:39:51 -06:00
Showing only changes of commit 9fd3ff0a5c - Show all commits

View File

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