crc16 supplied code

robtillaart:

(dont you just hate buts!)

depends, if the first sentence before the but is negative ....

:stuck_out_tongue: agreed

so how can i calculate the LSB-CRC16 ?

int x = do_crc-16();
byte lsb = x & 0xFF;
byte msb = x >> 8;

or am i wrong and i just do the crc calc on Len, Adr , Cmd and Data[] ?

this one

Thank you Rob, ill be doing most of the code i can for the menus ect to try and be as finished as i can when my converters come

if anyone has i idea which menu lib works with the TM1638 module feel free to save me a lot of work trying to make my own :wink:

Thanks again for everyone's help !!!

Willie