Hi All
In the serin command it says the following
#
The M2, X1 and X2 parts can take an optional timeout value and address at the
start of the command. The timeout value, set in milliseconds, is the length of
time the serin command will wait for a serial command to be detected. After the
timeout period , if no signal is detected, program flow will jump to the time out
address.
#
Is this in effect a pause and therefore not able to react to signals until it is released after the declared period
or is it a timer that can be interrupted at any time in the time frame chosen
I ask this because without the timeout and address the code funtions as expected
but when add it does not function
28x2 being used
serin A.1,T9600,fr works
serin [1000,fail],T9600,A.1,T9600,fr (the serout is being sent from a battery powered unit)
therefore without a release the main program will hang if the battery dies
regards
john
In the serin command it says the following
#
The M2, X1 and X2 parts can take an optional timeout value and address at the
start of the command. The timeout value, set in milliseconds, is the length of
time the serin command will wait for a serial command to be detected. After the
timeout period , if no signal is detected, program flow will jump to the time out
address.
#
Is this in effect a pause and therefore not able to react to signals until it is released after the declared period
or is it a timer that can be interrupted at any time in the time frame chosen
I ask this because without the timeout and address the code funtions as expected
but when add it does not function
28x2 being used
serin A.1,T9600,fr works
serin [1000,fail],T9600,A.1,T9600,fr (the serout is being sent from a battery powered unit)
therefore without a release the main program will hang if the battery dies
regards
john