Serial message handling
Posted: Fri Dec 26, 2008 1:01 pm
Hi Folks,
I have a stack which has multiple elements all sending info to the serial port. However I think the messages are tending to interleave themselves and my microcontroller is getting incorrect commands. For instance if one button sends 123 and another sends abc the microcontroller registers 1a2b3c. Is there a simple way to solve this or do I need to send everything to a single "hub" in my stack for sending?
Any thoughts or advice much appreciated.
Jim H
I have a stack which has multiple elements all sending info to the serial port. However I think the messages are tending to interleave themselves and my microcontroller is getting incorrect commands. For instance if one button sends 123 and another sends abc the microcontroller registers 1a2b3c. Is there a simple way to solve this or do I need to send everything to a single "hub" in my stack for sending?
Any thoughts or advice much appreciated.
Jim H