Serial receiving with timeout
jnogues
Posts: 25
Hi everybody,
Is possible received a string using Parallax Serial Terminal.spin object, with a timeout?
Regards,
Jaume Nogues
Barcelona
Spain
Is possible received a string using Parallax Serial Terminal.spin object, with a timeout?
Regards,
Jaume Nogues
Barcelona
Spain
Comments
It has 4 serial objects in one cog, but regarding timeouts, it has
The object has a large buffer, so I prefer to poll to see if anything is in the buffer
and then get a byte and then check again if anything is there.
It is faster than waiting for timeouts.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.smarthome.viviti.com/propeller