Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //INCLUDO LE LIBRERIE
- #include <ESP8266WiFi.h>
- #include <WiFiClient.h>
- #include <ESP8266WebServer.h>
- #include <ESP8266mDNS.h>
- //CONFIGURAZIONE ROUTER E IP STATICO
- const char* ssid = "TP-LINK_7F79D0";
- const char* password = "imbues0868";
- IPAddress ip(192, 168, 1, 151);
- IPAddress subnet(255, 255, 255, 0);
- IPAddress gateway(192, 168, 1, 1);
- //COMUNICO CON LA PORTA
- WiFiServer server(80);
- //TEMPI TAPPARELLA
- unsigned long lastMillis = millis();
- unsigned long lastMillis1 = millis();
- unsigned long attesa = 10000;
- unsigned long attesa1 = 10000;
- unsigned long posizione = 0L;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement