-->
Page 1 of 1

Serialbranch disconnected randomly 3.0 Alpha 69 build

PostPosted: Sat Dec 08, 2018 5:31 am
by _lele_
Code: Select allprint "Click the button many several times (can be many). Serialbranch routine will become disconnected eventually."
print

button "ClickMe", [buttonserve]
print
button "QUIT", [quit]
print

serialflush
serialbranch [serialin]
wait

[serialin]
serialinput msgin$
serialprintln "Keepalive OK:" & msgin$
return

[buttonserve]
serialprintln "*Button OK"
wait

[quit]
print "<a href='/'> Menu</a>"
end


Termite 3.4 configured as per the attachment and connected to console at 9600 8N1. Hit F1 to start the watchdog simulation before or after starting the basic sample code above.