I use an Arduino Mega, WiFi ESP8266 chip to configure the WiFi I tried with 3.3V and I used the Blink example and its keep showing me this error:
Archiving built core (caching) in: C:\Users\Touch\AppData\Local\Temp\arduino_cache_158005\core\core_esp8266_esp8266_nodemcu_CpuFrequency_80,FlashSize_4M1M,LwIPVariant_v2mss536,Debug_Disabled,DebugLevel_None____,UploadSpeed_115200_3dc25ee8e638774a16fe29cac5c7cf36.a
Sketch uses 247051 bytes (23%) of program storage space. Maximum is 1044464 bytes.
Global variables use 32864 bytes (40%) of dynamic memory, leaving 49056 bytes for local variables. Maximum is 81920 bytes.
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed
Even when I tried to use 5V its show me the same error.
Please can you give me the instructions of solving the error.
also, I used board ESP the node MCU10, and ESP module also generic ESP8266 and the port i choose the correct one.