Hi All,
I am working on a project and need to gather data via a command terminal using a Buffer on the RX pin of a UART.
It receives 1 byte at a time, e.g if it received HELLO, the RX buffer would be; H then would clear and become E etc etc.
Is there an efficient way to receive full data and then act upon that data. For example if I was actively looking for HELLO and then I would turn on a LED.
Currently I am using an array and dumping the values into that, anyone got a better solution?
JSwale
I am working on a project and need to gather data via a command terminal using a Buffer on the RX pin of a UART.
It receives 1 byte at a time, e.g if it received HELLO, the RX buffer would be; H then would clear and become E etc etc.
Is there an efficient way to receive full data and then act upon that data. For example if I was actively looking for HELLO and then I would turn on a LED.
Currently I am using an array and dumping the values into that, anyone got a better solution?
JSwale