Serial communication gives weird readings
July 31, 2010
With the recent discussions in the shout box, i was inspired to play around with sending "orders" to my picaxe with the serial connection.
No problems with it, it is all just simple RS232, BUT something seems to be up.
Every now and then, my picaxe will claim it has received something different than what i sent. Mostly it interperts it correctly, but sometimes it doesn't.
So if i send an 'r' it might read it as a 'q' then as a '?' and then, the third time, as an 'r'.
Is this some common error due to something i have done wrong?
I'll be happy to post code, if necessary, but it doesn't appear as a code bug.