Hello Andrew,
I am not sure if I fully understand your problem, but let me throw this out to you...
The SerIn has two things that can help you...
The Wait until and the timeout.
I am assuming that the ["A"] (wait until "A" is received, then get the next character) is causing your probem.
To help get rid of noise, you need to ground the pin with a resister.
The timeout can be pointed to the place you want to go if no signal is received.
Serin InputPin, T300, 500, Label,["A"],DataStorage
500 millisecond timeout and goto Label.
if ok, put data in DataStorage and continue on.
What I am not sure about, is if Serin is in receive mode, and is receiving data (good or bad) whether that 500 milliseconds will operate or not. I have not tested it, and I didn't see it in the manual. But I want to assume it is operating.
Are we on the same page?
Dwayne
Ability to Fly:
Hurling yourself towards the ground, and missing.
Engineers that Contribute to flying:
Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute
Pilots that are Flying:
Those who know their limitations, and respect the green side of the grass...
Bookmarks