View Single Post
Old 06-17-2009, 06:19 AM   #16 (permalink)
charlie_fd
EcoModding Lurker
 
Join Date: May 2009
Location: Bucharest,RO and Copenhagen,DK
Posts: 42
Thanks: 0
Thanked 1 Time in 1 Post
well ... It looks like my idea of padding the transmissions with a pair of 0xFF is not going to work in all cases: when i slowly increase the throttle I confuse the algorithm at the moment the throttle value is exactly 0xFF and for a brief moment I get really funny values on my screen


l.e.: solution was simple using 0xFD 0xFF sync sequence should be safe. Actually any non identical 2 values above 0x02 each would work for our values (max 511 for all that we read)
Attached Thumbnails
Click image for larger version

Name:	snapshot2.jpeg
Views:	27
Size:	20.4 KB
ID:	3710  

Last edited by charlie_fd; 06-17-2009 at 06:37 AM..
  Reply With Quote