Simple cpp wrapper of a ds18b20, onewire 'c' library. Supports multiple sensors.
Dependents: LPC11U68_DS18B20Sensor
Fork of DS18B20Sensor by
Diff: crc16.h
- Revision:
- 0:1449f126b241
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/crc16.h Sun Mar 03 01:41:51 2013 +0000 @@ -0,0 +1,5 @@ +#ifndef _CRC16_ +#define _CRC16_ +uint16_t crc16(uint8_t* octets, uint16_t nboctets); +uint8_t ctrl_crc16(uint8_t* octets, uint16_t nboctets); +#endif \ No newline at end of file