Hi
Trying to get my head around what's going on here.
I'm trying to run a very simply two option menu with a rotary encoder attached.
ESP32 TTGO LoRa V2.1 board.
I just cannot get the compiler past this error:
'serdebugF2' was not declared in this scope
serdebugF2("Did not find adc setting for ", pin);
Connected Encoder to GPIO 2,4,15 (Not using SD card slot)
OLED is on SDA 21, SCL 22 and RST 16
Anyone have any idea what might be happening.
VSC + PlatformIO on a Mac running Catalina.
UPDATE:
Sacked off VSC&PIO and tried running it in Arduino IDE.
Same problem - however, in there I downgraded the IOAbstraction from v2.1.0 to 2.0.6 and it now compiles.
However, I did need to change my encoder pin assignment as the original config would not allow for upload. (Pin 2 had a pull up resistor on it! lol)
Would still like to get to the bottom of it not working in VSC, and if there's an update to IOAbs? Or am I doing something wrong?
|