basicotantpserverdebugwebserial
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| basicotantpserverdebugwebserial [2025/03/01 00:13] – jwan | basicotantpserverdebugwebserial [2025/10/10 10:15] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 46: | Line 46: | ||
| // Time settings | // Time settings | ||
| WiFiUDP ntpUDP; | WiFiUDP ntpUDP; | ||
| - | NTPClient timeClient(ntpUDP, | + | NTPClient timeClient(ntpUDP, |
| // Create AsyncWebServer object on port 80 | // Create AsyncWebServer object on port 80 | ||
| Line 85: | Line 85: | ||
| | | ||
| // Connect to WiFi | // Connect to WiFi | ||
| - | WiFi.hostname(); | + | WiFi.hostname(hostname); |
| WiFi.begin(ssid, | WiFi.begin(ssid, | ||
| while (WiFi.status() != WL_CONNECTED) { | while (WiFi.status() != WL_CONNECTED) { | ||
basicotantpserverdebugwebserial.1740788003.txt.gz · Last modified: (external edit)
