Quote:
Originally posted by Joel J.
MyCounter is declared as a byte. A byte can store a number no larger than 254. After that it loops around to a negative number (an illusion).
|
While true, that is not the problem here. The problem is that the controllers need a SEROUT at least once every 125ms (that's once every five normal loops) in order to function properly. During your 3000-loop for structure, no data is sent or received from the rest of the RC causing it to die miserably. You need to find some way of putting a SEROUT in there somewhere.