Hello,
forget the timeout-option in "serin" when you receive rf-transmissions.
I've build it like this:
I use Timer1 to measure a timelimit.
So, start Timer1,
Repeat receive 1 character trough serin,
if the character is your lead-in receive the rest,
until timer1 ends.
go sleep....
It may be necessary to slow down the transmitter by using DEFINE CHAR_PACING 1000 because you are using slow software rather than fast hardware!
For me it it not necessary to receive each transmission!
PBP 2.50C, MCS+ 3.0.0.5, MPLAB 8, MPASM 5.14, ASIX Presto, PoScope, mE mikroBasic V7.2, PICKIT2
Bookmarks