Simple cpp wrapper of a ds18b20, onewire 'c' library. Supports multiple sensors.
Dependents: DS18B20Sensor DS18B201
crc16.h@0:1449f126b241, 2013-03-03 (annotated)
- Committer:
- jsteve
- Date:
- Sun Mar 03 01:41:51 2013 +0000
- Revision:
- 0:1449f126b241
Changed name from Sensor to DS18B20Sensor.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jsteve | 0:1449f126b241 | 1 | #ifndef _CRC16_ |
jsteve | 0:1449f126b241 | 2 | #define _CRC16_ |
jsteve | 0:1449f126b241 | 3 | uint16_t crc16(uint8_t* octets, uint16_t nboctets); |
jsteve | 0:1449f126b241 | 4 | uint8_t ctrl_crc16(uint8_t* octets, uint16_t nboctets); |
jsteve | 0:1449f126b241 | 5 | #endif |