Code: Select all
10:11:02.941 -> Connecting
10:11:02.941 -> .............
10:11:04.248 -> Connected to the WiFi network
10:11:04.248 -> Local ESP32 IP: 192.168.0.95
10:11:04.248 -> GPIOViewer >> Release 1.6.2
10:11:04.248 -> GPIOViewer >> ESP32 Core Version 3.2.0
10:11:04.248 -> GPIOViewer >> Chip Model:ESP32-D0WD, revision:100
10:11:04.248 -> GPIOViewer >> No PSRAM
10:11:04.248 ->
10:11:04.248 -> assert failed: tcp_alloc /IDF/components/lwip/lwip/src/core/tcp.c:1854 (Required to lock TCPIP core functionality!)
10:11:04.248 ->
10:11:04.248 -> Backtrace: 0x40082520:0x3ffb1f60 0x4008c2b1:0x3ffb1f80 0x400924f5:0x3ffb1fa0 0x400f5603:0x3ffb20e0 0x400f5779:0x3ffb2100 0x400dd259:0x3ffb2120 0x400dc4e5:0x3ffb2170 0x400d355f:0x3ffb2190 0x400d3d71:0x3ffb2220 0x400e05cb:0x3ffb2270 0x4008cfa2:0x3ffb2290
10:11:04.278 ->
10:11:04.278 -> ELF file SHA256: 520661a06
10:11:04.278 ->
10:11:04.562 -> Rebooting...
10:11:04.562 -> ets Jun 8 2016 00:22:57
The AsynTCP library was installed via the Arduino IDE.
The sketch is based on the GPIOViewer example and is as follows:
Code: Select all
// #define NO_PIN_FUNCTIONS
#include <gpio_viewer.h> // Must me the first include in your project
GPIOViewer gpio_viewer;
#include "config.h"
#include <WiFi.h>
const int LED = 5;
void setup()
{
Serial.begin(115200);
delay(1000);
pinMode(LED, OUTPUT);
WiFi.mode(WIFI_STA); //Optional
WiFi.begin(ssid, password);
Serial.println("\nConnecting");
while(WiFi.status() != WL_CONNECTED){
Serial.print(".");
delay(100);
}
Serial.println("\nConnected to the WiFi network");
Serial.print("Local ESP32 IP: ");
Serial.println(WiFi.localIP());
// 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() {
Serial.println("\n ... in loop() .......");
delay(10000);
}
Thank you.