I am trying to use the GPIOViewer and have downloaded and added the library into my IDE along with the dependencies but continue to get the following errors and a bit stumped. A newbie learning. ESP, Blynk, and others work great but GPIOViewer continues to give me this error.
In file included from C:\Users\rober\Downloads\firmware\firmware.ino:1:
c:\Users\rober\OneDrive\Documents\Arduino\libraries\GPIOViewer\src/gpio_viewer.h:11:10: fatal error: ESPAsyncWebServer.h: No such file or directory
11 | #include <ESPAsyncWebServer.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
type or paste code here
```/***
This example is intended to demonstrate the use of the GPIO Viewer Library.
Tutorial : https://youtu.be/UxkOosaNohU
Documentation : https://github.com/thelastoutpostworkshop/gpio_viewer
***/
#include <gpio_viewer.h> // Must me the first include in your project
GPIOViewer gpio_viewer;
void setup()
{
Serial.begin(115200);
// Comment the next line, If your code aleady include connection to Wifi
gpio_viewer.connectToWifi("Your SSID network", "Your WiFi Password");
// gpio_viewer.setPort(5555); // You can set the http port, if not set default port is 8080
// Your own setup code start here
// Must be at the end of your setup
// gpio_viewer.setSamplingInterval(25); // You can set the sampling interval in ms, if not set default is 100ms
gpio_viewer.begin();
}
// You don't need to change your loop function
void loop() {
}
// The rest of your code here
Yes, followed the steps exactly and for some reason continue to get the compile error. I will go back and make sure I did not miss a step but fairly certain all is good. Libraries are there, installed successfully, and just seems to be an issue with location of file I assume
Just followed the process again and still get exact same error. Not sure what the issue is but may forgo trying to get this working. I love the idea of looking at the GPIO pins in real time but I am stumped as to the issue
In file included from C:\Users\rober\Downloads\firmware\firmware.ino:2:
c:\Users\rober\OneDrive\Documents\Arduino\libraries\GPIOViewer\src/gpio_viewer.h:11:10: fatal error: ESPAsyncWebServer.h: No such file or directory
11 | #include <ESPAsyncWebServer.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Tried uninstalling and reinstalling all libraries and same issue. Not sure what else to try. I installed the libraries from the IDE like all other files. I may try to uninstall the entire IDE to see if this might help. Not sure if the files are simply in the wrong folder or settings are incorrect.