I'm having trouble with the SERIALINPUT command
What I want to do is have the program wait until it receives an input on the serial port and then CHECK the input to see if it says a specific character or phrase
and IF it contains that character or phrase then carry on with another section of program [gosub]
IF the character or phrase is incorrect it carries on waiting for the correct input
Something along the lines of this
KeepSearching:
Do
SERIALINPUT ' get a record
Loop Until arg$(0) = "start" ' we only want the start record
Print "Searching For start character"
GoTo KeepSearching ' go back and keep looking
Is it possible to have an example of how to do this please?
I'm using V3.0 Alpha 12
Thanks