RS232 Clearing Buffer???
Posted: Wed Jul 20, 2011 9:00 pm
Hi,
i am having a problem with the RS232, basically if i send data across to my PIC without the code actually receiving the character, it seems to sit there.
When i actually want the PIC to read the data sent to it, it reads the data that was sent to it before hand first,
Is there a way to wipe this "buffer" if thats what it is, so that it will only receive what i want it to when i want it to??
i am having a problem with the RS232, basically if i send data across to my PIC without the code actually receiving the character, it seems to sit there.
When i actually want the PIC to read the data sent to it, it reads the data that was sent to it before hand first,
Is there a way to wipe this "buffer" if thats what it is, so that it will only receive what i want it to when i want it to??