diff simple_ds18b20.h @ 115:90d1ebb941ab

untested fridge control
author Matt Johnston <matt@ucc.asn.au>
date Wed, 03 Oct 2012 23:40:03 +0800
parents ca08442635ca
children
line wrap: on
line diff
--- a/simple_ds18b20.h	Wed Oct 03 12:04:36 2012 +0000
+++ b/simple_ds18b20.h	Wed Oct 03 23:40:03 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 );
+int16_t ds18b20_raw16_to_decicelsius(uint16_t measure);
 uint8_t simple_ds18b20_read_raw( uint8_t id[], uint16_t *reading );
 uint8_t simple_ds18b20_read_all();