I completed successfully a remote control via 433MHz radio modules at 600 Baude (1200 gives erratic results). The receiver PIC is a 28X1 running at 4 MHZ because it drives servos. The data transfer is however slow.....about 700ms between data acceptance. Is there any method to assess the time taken by the various blocks of the code in order to investigate possible execution speed-up?
In my transmitter code I spend many lines driving a two lines LCD which may be the slow-down reason; the fixed LCD text is written only once before the "main" routine. Any other suggestion like "better goto then gosub" etc. or have the transmitter 28X1 running at 16MHz and the receiver at 4MHz or....
Thanks
In my transmitter code I spend many lines driving a two lines LCD which may be the slow-down reason; the fixed LCD text is written only once before the "main" routine. Any other suggestion like "better goto then gosub" etc. or have the transmitter 28X1 running at 16MHz and the receiver at 4MHz or....
Thanks