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:12] – jwan | basicotantpserverdebugwebserial [2025/10/10 10:15] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 39: | Line 39: | ||
| // WiFi credentials | // WiFi credentials | ||
| - | const char* ssid = "PLDT24GHZ"; | + | const char* ssid = "SSID"; |
| - | const char* password = "sosiolandia"; | + | const char* password = "Password"; |
| - | const char *hostname = "IoTClock"; | + | const char *hostname = "Hostname"; |
| String IPaddr; | String IPaddr; | ||
| // Time settings | // Time settings | ||
| WiFiUDP ntpUDP; | WiFiUDP ntpUDP; | ||
| - | //NTPClient timeClient(ntpUDP, | + | NTPClient timeClient(ntpUDP, |
| - | NTPClient timeClient(ntpUDP, | + | |
| // Create AsyncWebServer object on port 80 | // Create AsyncWebServer object on port 80 | ||
| Line 86: | 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.1740787935.txt.gz · Last modified: (external edit)
