This commit is contained in:
Simon Schmidt 2021-07-12 16:12:03 +02:00
parent 279cf12cbc
commit 9211cbff57
2 changed files with 16 additions and 17 deletions

View File

@ -25,22 +25,6 @@ void loop() {
ArduinoOTA.handle();
}
```
___
__modify__ _platformio.ini_
```ini
; example platformio.ini
[env:esp01_1m]
platform = espressif8266
board = esp01_1m
framework = arduino
upload_port = COM6
monitor_speed = 74880
```
___
__open serial port to esp8266 and reset__
@ -90,6 +74,21 @@ __note:__ __y__ represents the position of the boot file
___
__modify__ _platformio.ini_
```ini
; example platformio.ini
[env:esp01_1m]
platform = espressif8266
board = esp01_1m
framework = arduino
upload_port = COM6
monitor_speed = 74880
```
___
__upload compiled binary via uart__
__note__: close serial port

View File

@ -14,7 +14,7 @@ board = esp01_1m
framework = arduino
; upload_protocol = espota
; upload_port = 192.168.10.108
; upload_port = !!!your IP address!!!
upload_port = COM6
upload_speed = 921600