This commit is contained in:
2025-04-05 13:09:49 -05:00
parent 896eef6e5b
commit 908ca648aa
8 changed files with 59 additions and 25 deletions

View File

@@ -1,7 +1,10 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"platformio.platformio-ide"
]
}
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"platformio.platformio-ide"
],
"unwantedRecommendations": [
"ms-vscode.cpptools-extension-pack"
]
}

View File

@@ -20,8 +20,8 @@ lib_deps =
monitor_speed = 115200
upload_speed = 115200
monitor_flags = --raw
upload_protocol = espota
upload_port = 192.168.1.104
upload_flags =
--port=8266
--auth=un260874
;upload_protocol = espota
;upload_port = 192.168.1.9
;upload_flags =
; --port=8266
; --auth=un260874

View File

@@ -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();
}