Shortest sweetest browser based serial terminal ever!!!!!!
Posted: Mon Aug 15, 2016 11:10 pm
Tested on ESP Basic 3.0.Alpha 40.
Alpha 39 had a bug in the Serial.read.chr() returning a number in stead of a character. this has been resolved and this short sweet mini browser to serial terminal is now working.
Only 23 lines of code!!!
https://youtu.be/vsTsmD38oAk
Alpha 39 had a bug in the Serial.read.chr() returning a number in stead of a character. this has been resolved and this short sweet mini browser to serial terminal is now working.
Only 23 lines of code!!!
https://youtu.be/vsTsmD38oAk
Code: Select all
Textbox MyMsg
button "Send line", [send]
button "Send just txt", [send.txt]
print
serialbranch [serialin]
wait
[serialin]
bla$ = Serial.read.chr()
if bla$ == chr(13) then print
if bla$ == chr(10) then print
wprint bla$
if serial.available() <> 0 then goto [serialin]
return
[send]
Serialprintln MyMsg
wait
[send.txt]
serialprint MyMsg
wait