1 // DS18B20 Temperature Sensors
6 // Maximum number of supported sensors
7 #define DS_NUM_SENSORS 8
10 byte address[8]; // All zeroes if sensor does not exist.
11 // Otherwise, address[0] is guaranteed to be non-zero.
12 int current_temp; // Temperature in m°C or DS_TEMP_UNKNOWN
15 extern struct ds_sensor ds_sensors[DS_NUM_SENSORS];
17 #define DS_TEMP_UNKNOWN 0x7fffffff