DS18B20 TEMPERATURE_PRECISION increased to 12 bits and temp converted to float

This commit is contained in:
2018-10-14 03:20:50 +03:00
parent 3038e41788
commit 687ef7cd99
10 changed files with 93 additions and 88 deletions

View File

@@ -48,7 +48,7 @@ e-mail anklimov@gmail.com
#define check_circle 2000/t_count
#define t_max 20 //Maximum number of 1w devices
#define TEMPERATURE_PRECISION 9
#define TEMPERATURE_PRECISION 12 //9
#ifndef OWIRE_DISABLE
@@ -61,7 +61,7 @@ e-mail anklimov@gmail.com
extern aJsonObject *owArr;
typedef void (*owChangedType) (int , DeviceAddress, int) ;
typedef void (*owChangedType) (int , DeviceAddress, float) ;
#ifndef USE_1W_PIN
#define DS2482_100_I2C_TO_1W_BRIDGE // HW driver
#endif