Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32 C3 Super Mini Dev Board #116

Closed
ScorchFeed opened this issue May 6, 2024 · 9 comments
Closed

ESP32 C3 Super Mini Dev Board #116

ScorchFeed opened this issue May 6, 2024 · 9 comments
Assignees

Comments

@ScorchFeed
Copy link

ScorchFeed commented May 6, 2024

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

@thelastoutpostworkshop thelastoutpostworkshop self-assigned this May 6, 2024
@thelastoutpostworkshop
Copy link
Owner

The AsyncTCP.h library is not instllaed, you have to install it throught the Arduino IDE library manager. See the installation instructions here: https://github.com/thelastoutpostworkshop/gpio_viewer

@ScorchFeed
Copy link
Author

More problems...Please help.

In file included from C:\Users\mpken\AppData\Local\Temp.arduinoIDE-unsaved202446-8116-1yj938d.vwo9\sketch_may6a\sketch_may6a.ino:1:
c:\Users\mpken\OneDrive\Documents\Arduino\libraries\GPIOViewer\src/gpio_viewer.h: In member function 'int GPIOViewer::readGPIO(int, uint32_t*, pinTypes*)':
c:\Users\mpken\OneDrive\Documents\Arduino\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
Multiple libraries were found for "ESPAsyncWebServer.h"
Used: C:\Users\mpken\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer
Not used: C:\Users\mpken\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer
exit status 1

Compilation error: exit status 1

@ScorchFeed
Copy link
Author

ScorchFeed commented May 6, 2024

I removed the multiple libraries. This is the latest error message:............................ Please help

In file included from C:\Users\mpken\AppData\Local\Temp.arduinoIDE-unsaved202446-8116-1yj938d.vwo9\sketch_may6a\sketch_may6a.ino:1:
c:\Users\mpken\OneDrive\Documents\Arduino\libraries\GPIOViewer\src/gpio_viewer.h: In member function 'int GPIOViewer::readGPIO(int, uint32_t*, pinTypes*)':
c:\Users\mpken\OneDrive\Documents\Arduino\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
Copy link
Owner

In the Arduino IDE Boards Manager, make sure you have the latest version of the Espressif ESP32 boards :
image

@ScorchFeed
Copy link
Author

This is what I have installed.
Espressif BM

@thelastoutpostworkshop
Copy link
Owner

You are using the alpha version of the boards, this is not yet supported, use 2.0.14 version

@ScorchFeed
Copy link
Author

OK, thanks. Installing 2.0.14 now.

@ScorchFeed
Copy link
Author

Success! Thank you for your help.

@thelastoutpostworkshop
Copy link
Owner

Glad it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants