13 lines
376 B
Plaintext
13 lines
376 B
Plaintext
# flashing firmware onto NodeMCU
|
|
esptool.py --port /dev/ttyUSB0 write_flash -fm qio 0x00000 nodemcu-master-9-modules-2019-04-08-19-43-38-float.bin
|
|
|
|
# connecting to NodeMCU via serial terminal
|
|
cu -l /dev/ttyUSB0 -s 115200 dir
|
|
|
|
# uploading code to NodeMCU
|
|
nodemcu-uploader upload motor.lua
|
|
nodemcu-uploader upload init.lua
|
|
|
|
# sending data over wifi via socket
|
|
nc 192.168.4.1 80
|