Browse Source

Delete ESPClock.ino

main
ephides 5 years ago committed by GitHub
parent
commit
b3be598119
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 25
      ESPClock.ino

25
ESPClock.ino

@ -1,25 +0,0 @@
#include <ESP8266WiFi.h>
#include <ESP8266mDNS.h>
#include <ArduinoOTA.h>
#ifndef STASSID
#define STASSID "PBS-6C0855"
#define STAPSK "GtYpvyXv0uLQT"
#endif
const char* ssid = STASSID;
const char* password = STAPSK;
void setup() {
WiFi.mode(WIFI_STA);
WiFi.begin(ssid, password);
while (WiFi.waitForConnectResult() != WL_CONNECTED) {
delay(5000);
ESP.restart();
}
ArduinoOTA.begin();
}
void loop() {
ArduinoOTA.handle();
}
Loading…
Cancel
Save