I believe that my Sketch has been sent to ESP correctly, this is the message that appears after uploading:
Executable segment sizes:
IROM : 235884 - code in flash (default or ICACHE_FLASH_ATTR)
IRAM : 26908 / 32768 - code in IRAM (ICACHE_RAM_ATTR, ISRs...)
DATA : 1264 ) - initialized variables (global, static) in RAM/HEAP
RODATA : 784 ) / 81920 - constants (global, static) in RAM/HEAP
BSS : 24976 ) - zeroed variables (global, static) in RAM/HEAP
O sketch usa 264840 bytes (27%) de espaço de armazenamento para programas. O máximo são 958448 bytes.
Variáveis globais usam 27024 bytes (32%) de memória dinâmica, deixando 54896 bytes para variáveis locais. O máximo são 81920 bytes.
esptool.py v2.8
Serial port COM3
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 84:f3:eb:9f:ef:75
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Flash params set to 0x0340
Compressed 268992 bytes to 196702...
Writing at 0x00000000... (7 %)
Writing at 0x00004000... (15 %)
Writing at 0x00008000... (23 %)
Writing at 0x0000c000... (30 %)
Writing at 0x00010000... (38 %)
Writing at 0x00014000... (46 %)
Writing at 0x00018000... (53 %)
Writing at 0x0001c000... (61 %)
Writing at 0x00020000... (69 %)
Writing at 0x00024000... (76 %)
Writing at 0x00028000... (84 %)
Writing at 0x0002c000... (92 %)
Writing at 0x00030000... (100 %)
Wrote 268992 bytes (196702 compressed) at 0x00000000 in 17.5 seconds (effective 122.7 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
That first line of gibberish is the output from the bootloader, which is at 74880 baud. Since your program is running, you can just ignore that if you like.
Selitto:
Apparently the code is running, but I don't have a connection
Selitto:
// Network SSID
const char* ssid = "";
const char* password = "";
If those are really blank, that would explain the problem.
pert:
That first line of gibberish is the output from the bootloader, which is at 74880 baud. Since your program is running, you can just ignore that if you like.
Got it, I think I realized that with the new code I tested
pert:
If those are really blank, that would explain the problem.