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

'analogGetChannel' was not declared in this scope #79

Closed samarkh closed 10 months ago

samarkh commented 10 months ago

This could be the same as issue #74 When I try the basic Platformio example I get 'analogGetChannel' was not declared in this scope gpio_viewer.h, line 374 platformio.ini

[env:esp-wrover-kit]
platform = espressif32
board = esp-wrover-kit

framework = arduino
monitor_speed = 115200
upload_speed = 1500000
monitor_port = COM11
upload_port = COM11
lib_deps =
            thelastoutpostworkshop/GPIOViewer @ ^1.0.7
            https://github.com/me-no-dev/ESPAsyncWebServer.git
            https://github.com/dvarrel/AsyncTCP.git
            https://github.com/me-no-dev/ESPAsyncWebServer.git
build_flags = 
  -D CORE_DEBUG_LEVEL=5

Any sugestions? Yours Simon M

thelastoutpostworkshop commented 10 months ago

You need tp update your platform espressif32 to the latest version (2.0.14)

toetoast commented 10 months ago

If for some reason you need the installed Espressif Systems ESP32 Board (accessed via Arduino Boards Manager) to be less then 2.0.14 then the lowest you can go for compatibility is 2.0.5 as shown here.

The documentation within the README file has now been updated to reflect this.

Tony

Wed 10-01-2024 4-30-28 AM

samarkh commented 10 months ago

Many thanks PlatformIO Core CLI → pio pkg update -g -p espressif32 worked a charm