-->
Page 1 of 3

read from serial

PostPosted: Wed Nov 04, 2015 7:14 pm
by adi_g_s
hi,
i would like to print a request and read the response string back from serial. is this possible?

Re: read from serial

PostPosted: Wed Nov 04, 2015 7:46 pm
by Mmiscool
Use the input command.

Code: Select allinput "prompt string" string

Re: read from serial

PostPosted: Wed Nov 04, 2015 8:01 pm
by Mmiscool
Take a look at the documentation.

http://www.esp8266basic.com/language-reference.html


I know the docs still need work but they are a good starting point.

Re: read from serial

PostPosted: Tue Nov 17, 2015 8:58 am
by adi_g_s
i tried to use input, but the program hangs, though i'm sending data from serial.