SERIN checking once
Dear Parallax Community,
I was wondering what the line of code is with SERIN to make it check for a signal once, much like a line in a for or do loop. I think we can do this by inserting a TIMEOUT condition, but our group has not been able to get the TIMEOUT condition working. As of now we are using this line of code:
SERIN PIN, BAUD, [noparse][[/noparse]WAIT("FINAL"), finalVal]
We essentially want to get rid of the waiting part, and having the SERIN check for an input in a loop.
Thanks!
I was wondering what the line of code is with SERIN to make it check for a signal once, much like a line in a for or do loop. I think we can do this by inserting a TIMEOUT condition, but our group has not been able to get the TIMEOUT condition working. As of now we are using this line of code:
SERIN PIN, BAUD, [noparse][[/noparse]WAIT("FINAL"), finalVal]
We essentially want to get rid of the waiting part, and having the SERIN check for an input in a loop.
Thanks!
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen