Might get a couple of hints from this:
http://www.picbasic.co.uk/forum/show...ht=hserin+idle
If not there, then try a search on serial and idle and see what happens.
Might get a couple of hints from this:
http://www.picbasic.co.uk/forum/show...ht=hserin+idle
If not there, then try a search on serial and idle and see what happens.
Hi,
I usually refer back to this sample program if I forget how to use a modifier;
http://www.melabs.com/resources/samples.htm
and load the sample program ser2mod.bas
Bob
Thanks for that Bob. The bit I was confused about is Skimask's statement "MyVars var Byte[8] sets aside 9 bytes, index 0 (zero) is also valid"
I thought I understood that MyVars VAR BYTE[8] had 8 elements numbered 0 to 7 (Page 26 PBP new manual). If that were the case then the 'clearance' counter ought surely to be 0 to 7 not 0 to 8, which would be invalid.
Adrian
Thank you for that, Skimask. I really appreciate you coming back and putting this one to bed once and for all. I guess that Counter 0 to 7 clears the temp array and 0 to 8 hangs up due to the extra 'rogue' index.
I really do appreciate your input and have learned some more about this interesting and all absorbing science
Regards & thanks
Adrian
Bookmarks