View Single Post
  #6   Spotlight this post!  
Unread 20-09-2003, 23:32
Damian Manda's Avatar
Damian Manda Damian Manda is offline
The Damian
no team
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Fort Collins, CO
Posts: 154
Damian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud ofDamian Manda has much to be proud of
Send a message via AIM to Damian Manda
As far as I can remember, sending two values of 255 in a row in the serout will cause a reset, and everything will be messed up. This is why there are two 255's at the beginning of the serout. It tells the processor that the outputs begin there. If it resets later, the variables wil not match up with what is being outputed, hense undesired motor output. If this makes no sense, I can try to explain it better, but for right now I am too tired.

I think the consensus is that 255 should be avoided, due to many reasons.

--Damian Manda