serial mis-communication between stamps
raulduke1011
Posts: 17
I have two bs2sx stamps which I am using for my robot. The first checks several senses and the second serves as the brain and pulls the sensors stamp for results. This was working up to a few days ago. I have no idea what I changed or what may be failing hardware wise but I can't get it back to normal. The sensors controller should only return the values 1 - 4 but I am getting results going all the way up to 98. This is driving me crazy and so any information would be a major help. Attached are the files.
Comments
Things that cause this -- low batteries, bad ground wire, loose connection to a pin.
Example
SLAVE:
SERIN ComLine\FC, Baud, 200, TryAgain, [noparse][[/noparse]DEC2 Command, x]
MASTER
SEROUT ComLine\FC, Baud, 200, TryAgain, [noparse][[/noparse]DEC2 Command, " "]
Post Edited (kenwtn) : 6/5/2008 10:52:28 PM GMT