First class data visualization and communication library with embedded devices. Code is maintained at github.com/Overdrivr/Telemetry

Dependents:   telemetry_car_demo telemetry_demo_FRDM-TFC telemetry_example_01 telemetry_indexed_data_demo ... more

Committer:
Overdrivr
Date:
Tue Apr 12 07:40:10 2016 +0000
Revision:
7:d224bddd5405
Parent:
5:cd94bb58e096
Release 2.0.0

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Overdrivr 0:3a30eba5d8f7 1 #ifndef CRC16_H_
Overdrivr 0:3a30eba5d8f7 2 #define CRC16_H_
Overdrivr 0:3a30eba5d8f7 3
Overdrivr 0:3a30eba5d8f7 4 //From : https://en.wikipedia.org/wiki/Computation_of_cyclic_redundancy_checks
Overdrivr 0:3a30eba5d8f7 5
Overdrivr 0:3a30eba5d8f7 6 #include "stdint.h"
Overdrivr 0:3a30eba5d8f7 7
Overdrivr 0:3a30eba5d8f7 8 uint16_t crc16(uint8_t * data, uint32_t lenght);
Overdrivr 0:3a30eba5d8f7 9 uint16_t crc16_recursive(uint8_t byte, uint16_t remainder);
Overdrivr 0:3a30eba5d8f7 10
Overdrivr 5:cd94bb58e096 11 #endif