bck
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
#endif
|
||||
WiFiUDP ntpUDP;
|
||||
NTPClient timeClient(ntpUDP, "0.south-america.pool.ntp.org", -18000, 6000);
|
||||
const char *ssid = "mdchaparror";
|
||||
const char *password = "un260874";
|
||||
const char *ssid = "CHAPARRO";
|
||||
const char *password = "Un260874";
|
||||
long timeAnterior;
|
||||
long matrix_time;
|
||||
int matrix_speed = 150;
|
||||
@@ -23,11 +23,16 @@ int matrix_speed = 150;
|
||||
|
||||
void setup()
|
||||
{
|
||||
Serial.begin(921600);
|
||||
delay(5000);
|
||||
|
||||
Serial.begin(115200);
|
||||
Serial.println("HOLA");
|
||||
WiFi.mode(WIFI_STA);
|
||||
WiFi.begin(ssid, password);
|
||||
|
||||
while (WiFi.waitForConnectResult() != WL_CONNECTED)
|
||||
{
|
||||
Serial.println("Conectando WIFI");
|
||||
delay(5000);
|
||||
ESP.restart();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user