Nduino SDK - TCP Server Example
This simple project show how to output "Hello World" to the UART0 of NodeMCU V1.0 board (using ESP-12E / ESP-12F module).
Or make output more message:
$ make V=1
The target file is at build/ directory.
$ make flash
It use the
/dev/ttyUSB0 serial device to upload the firmware into board.
You need to modify the varible
ESPPORT according to your system in
Makefile. It should be /dev/cu.SLAB_USBtoUART in Mac OS X or COM3 in windows.
Using the cutecom to check the Serial port message in Linux:
$ sudo apt-get install cutecom
Run the cutecom, set:
- Device: /dev/ttyUSB0
- Baud rate: 115200
- Data bits: 8
- Stop bits: 1
- Parity: None
Then click the 'Open', and it will get a "Hello World!" every 3 seconds.
$ make clean