for discussion purposes,I have been working on a general send/receive scheme to use for pic's. It is more like a module or object type of situation since you would always set up various registers, arrays and variables to accomplish the task. It uses interrupts so the main program can keep working while at the same time processing TX and RX's.
One of the first requirements I came up with was there needs to be a "start" and "end" character that will trigger the routines to either -reset counters/registers or tell the main program to process the captured serial.
Also I'm not sure how the hardware serial basic commands hold up program flow....
more if any thoughts.
Don
Bookmarks