Hello !
I have tried the perl code included in the data sheet, and here is the output:
~/dev/lcdlib/TestsStandalone> ./cftest.pl
A CRC of Packet (800105) Should Equal (5584)
ffff
b24c
b959
fe7e
ba0d
eadc
7a25
85da
So I get 85da instead of 5584.
Before I go to the cellar to get my old lessons on data integrity could someone tell me if this example should work ?
I'm getting confused between ord, char, hexa, decimal, carcters...
when saying type '80', it is 0x80, correct ? 10000000 in binary ?
What should be the CRC for 0x80 ?
Thanks !
Vincent
I have tried the perl code included in the data sheet, and here is the output:
~/dev/lcdlib/TestsStandalone> ./cftest.pl
A CRC of Packet (800105) Should Equal (5584)
ffff
b24c
b959
fe7e
ba0d
eadc
7a25
85da
So I get 85da instead of 5584.
Before I go to the cellar to get my old lessons on data integrity could someone tell me if this example should work ?
I'm getting confused between ord, char, hexa, decimal, carcters...
when saying type '80', it is 0x80, correct ? 10000000 in binary ?
What should be the CRC for 0x80 ?
Thanks !
Vincent
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.