ผมไม่รู้แก้ยังไงมือใหม่ครับ
ลองเปลี่ยนสาย usb ดู
เปลี่ยนแล้วขึ้นแบบนี้ครับ
แน่ใจใช่ไหมว่าเป็น com6
ใช้บอร์ดอะไร esp8266 ?
ใช่ครับ esp8266
ผมลองทำตามอันนี้ดูแล้วแต่กูไม่ได้
ถ้าอย่างนั้นก็เลือกบอร์ดให้ถูกด้วยครับ
ก็ พิมพ์ผิด
ESP32 DEV มันทำงานแค่ปั้มครับแต่ไม่เชื่อมกับ blynk ให้
copy error เต็มมาวางด้วยครับ
Arduino: 1.8.14 Hourly Build 2020/10/09 12:33 (Windows 10), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, None"
Sketch uses 640166 bytes (48%) of program storage space. Maximum is 1310720 bytes.
Global variables use 38928 bytes (11%) of dynamic memory, leaving 288752 bytes for local variables. Maximum is 327680 bytes.
esptool.py v2.6
Serial port COM5
Connecting....
A fatal error occurred: Timed out waiting for packet header
A fatal error occurred: Timed out waiting for packet header
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
สรุปปัญหาของกระทู้นี้คือ ใช้โค้ตของ esp32 แต่ฮาร์ดแวร์ ใช้ esp8266 มันเลย error
วิธีแก้ไขคือ หาบอร์ด esp32 มาใช้ครับ
อีกประเด็นก็คือสรุปให้ได้ก่อนว่าเราจะใช้บอร์ดไหนกันแน่
Arduino: 1.8.14 Hourly Build 2020/10/09 12:33 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
In file included from C:\Users\ACER_NITRO5\Desktop\sketch_jan29a\sketch_jan29a.ino:4:0:
C:\Users\ACER_NITRO5\Documents\Arduino\libraries\Blynk\src/BlynkSimpleEsp32.h:15:2: error: #error This code is intended to run on the ESP32 platform! Please check your Tools->Board setting.
#error This code is intended to run on the ESP32 platform! Please check your Tools->Board setting.
^
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.