Serialbranch disconnected randomly 3.0 Alpha 69 build
Posted: Sat Dec 08, 2018 5:31 am
Code: Select all
print "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.