crc7()

The CRC7 check is required for communication with a number of third-party devices. 

The result of the crc7() function is returned as a decimal value. 

crc7(2) - returns 34