-->
Page 1 of 1

serial connection NodeMCU - PC

PostPosted: Mon Mar 19, 2018 5:46 am
by elektrolurch
Hello
I am still a beginner at ESPbasic and have a question.
I want to send data from my NodeMCU to the serial interface of my notebook.
In my program, I would like to send ten times a 7, while every time a Led is flashing.
The Led flashes each time and the notebook also receives something each time.
However, the notebook does not receive the "7" but a "d".
Why is that?
What am I doing wrong?
I am grateful for every idea.

serial2begin 9600,15,13
for i = 1 to 10
io (po, 14.1)
delay 100
serial2print "7"
io (po, 14.0)
delay 100
next i
serial2end