-
-
Notifications
You must be signed in to change notification settings - Fork 136
Description
Please Help. When I try to compile, I get this error:
In file included from c:\Users\mpken\OneDrive\Documents\Arduino\libraries\GPIOViewer\src/gpio_viewer.h:11,
from C:\Users\mpken\AppData\Local\Temp.arduinoIDE-unsaved202446-7204-2hb6t6.q0vwo\gpioviewer\gpioviewer.ino:9:
c:\Users\mpken\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:35:10: fatal error: AsyncTCP.h: No such file or directory
35 | #include <AsyncTCP.h>
| ^~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: exit status 1
This is the Code I used:
/***
This example is intended to demonstrate the use of the GPIO Viewer Library.
Tutorial : https://youtu.be/UxkOosaNohU
Latest Features : https://youtu.be/JJzRXcQrl3I
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 in mode WIFI_STA (WIFI_AP and WIFI_AP_STA are not supported)
gpio_viewer.connectToWifi("yes", "yes");
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