thelastoutpostworkshop / gpio_viewer

GPIOViewer Arduino Library to see live GPIO Pins on ESP32 boards
https://youtu.be/JJzRXcQrl3I
MIT License
1.07k stars 110 forks source link

Compile error #120

Closed BenthamSoftwareServices closed 6 months ago

BenthamSoftwareServices commented 6 months ago

I get the following when trying to compile the gpioviewer example on Arduino IDE 2.3.2:

In file included from C:\Users\Steven\AppData\Local\Temp.arduinoIDE-unsaved2024412-25320-k4kcgk.f6mv\gpioviewer\gpioviewer.ino:8: e:\Users\Steven\Documents\GitHub\Arduino_IDE2\Arduino_IDE2_Sketches\libraries\GPIOViewer\src/gpio_viewer.h: In member function 'int GPIOViewer::readGPIO(int, uint32_t, pinTypes)': e:\Users\Steven\Documents\GitHub\Arduino_IDE2\Arduino_IDE2_Sketches\libraries\GPIOViewer\src/gpio_viewer.h:500:33: error: 'analogGetChannel' was not declared in this scope; did you mean 'analogChannel'? 500 | uint8_t analogChannel = analogGetChannel(gpioNum); | ^~~~ | analogChannel

exit status 1

Compilation error: exit status 1

thelastoutpostworkshop commented 6 months ago

See here : https://github.com/thelastoutpostworkshop/gpio_viewer/issues/116#issuecomment-2096921380

BenthamSoftwareServices commented 6 months ago

That fixed it, many thanks. Really useful app.