Morning folks. Last night I had my robot responding to an interrupt whenever the encoder pulsed which would simply (leftEncoder++;) increment a counter. I would have the program send send the counter (leftEncoder.toString() out the XBEE. All seemed fine… rotate the wheel and see the count on the XBEE comms. However after a few minutes, the Fez seemed to lock up.
The only thing I can think of at this time is perhaps this is caused by reading a value that is being modified by another thread. Am I way off base here or not?
For reference, I don’t believe its the XBEE as I have sent gps data out it for hours with no problem.