Mercurial > templog
diff simple_ds18b20.h @ 75:ca08442635ca
report raw ds18b20 values instead
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 03 Jul 2012 22:44:21 +0800 |
parents | 878be5e353a0 |
children | 90d1ebb941ab |
line wrap: on
line diff
--- a/simple_ds18b20.h Tue Jul 03 21:55:50 2012 +0800 +++ b/simple_ds18b20.h Tue Jul 03 22:44:21 2012 +0800 @@ -9,6 +9,7 @@ void printhex(uint8_t *id, uint8_t n, FILE *stream); void printhex_byte( const unsigned char b, FILE *stream ); uint8_t simple_ds18b20_read_decicelsius( uint8_t id[], int16_t *decicelsius ); +uint8_t simple_ds18b20_read_raw( uint8_t id[], uint16_t *reading ); uint8_t simple_ds18b20_read_all(); #endif // SIMPLE_DS18B20_H_