Hi i recently started a project for school to controll a infrared helicopter from a pc and i am having a hard time decoding the checksum for it, can someone please help me? iv google it many times but i cant seem to understand the methode of decoding it, if someone could please help me and explain how to do it i would appreciate it
, i have tride XOR but did not succeed, maybe i did it wrong, i dont know ![]()
FT = Full throttle
LR = Left/Righ
FB = Forward/Backward
TR = Trim
?? = Checksum
Throt. - LR - FB - L1 - TR - L2 - ??
100 throttle 1 01111110 1000 1000 0100 0000 0000 1010
75 throttle 1 01100011 1000 1000 0100 0000 0000 1101
50 throttle 1 00111101 1000 1000 0100 0000 0000 0101
25 throttle 1 00000111 1000 1000 0100 0000 0000 1011
FT + full left 1 01111110 0001 1000 0100 0000 0000 0011
FT + full right 1 01111110 1111 1000 0100 0000 0000 0001
FT + full back 1 01111110 0111 0001 0100 0000 0000 0001
FT + full Forw 1 01111110 0111 1111 0100 0000 0000 0000
FT + L1 Button 1 01111110 1000 1000 0101 0000 0000 1011
FT + L2 Button 1 01111110 1000 1000 0100 0000 0001 1011
FT + R2 Button 1 01111110 1000 1000 0100 0000 0100 1110
FT + Trim Right Button 1 01111110 1000 1000 0100 0001 0000 1011
FT + Trim Left Button 1 01111110 1000 1000 0100 0010 0000 1101
Thanks a lot in advance! ![]()
English is not my native language and electronics/arduino is just a hobby, sorry in advance for my bad spelling and stupidity.