Description
Hello,
ran into another problem.... i just copied over the sample code (from https://github.com/muwerk/munet), and there this line:
#define LED_BUILTIN 2 //had t o add this since ESP don't have a predefined LED_BUILTIN
ustd::Net net(LED_BUILTIN);
gives the following error:
Tankwaechter:24:7: error: 'Net' in namespace 'ustd' does not name a type
ustd::Net net(LED_BUILTIN);
^
/home/bboett/Arduino/Tankwaechter/Tankwaechter.ino: In function 'void setup()':
Tankwaechter:53:5: error: 'net' was not declared in this scope
net.begin(&sched); // connect to WLAN and sync NTP time, credentials read from SPIFFS, (s.b.)
^
Mehrere Bibliotheken wurden für "WiFi.h" gefunden
Benutzt: /home/bboett/.arduino15/packages/esp32/hardware/esp32/1.0.4-rc1/libraries/WiFi
Nicht benutzt: /home/bboett/Downloads/arduino-1.8.12-linux64/arduino-1.8.12/libraries/WiFi
exit status 1
'Net' in namespace 'ustd' does not name a type
how can i solve this one?
BTW in the sample code it would be nice to add the values for ESP vars in line 1!