Simple cpp wrapper of a ds18b20, onewire 'c' library. Supports multiple sensors.
Dependents: LPC11U68_DS18B20Sensor
Fork of DS18B20Sensor by
crc16.h@5:0bcc4e42fec0, 2014-07-04 (annotated)
- Committer:
- Bongjun
- Date:
- Fri Jul 04 00:08:44 2014 +0000
- Revision:
- 5:0bcc4e42fec0
- Parent:
- 0:1449f126b241
added comments
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 |