rasProject_01 / weSweetHome
R. 240
process control / RasPi software by weinert-automation
|
A structure for 1-wire devices. More...
#include <we1wire.h>
Data Fields | |
char | contBuf [80] |
read content buffer | |
char | name [16] |
short sensor name (8 characters max., 6..8 recommended) | |
int | value |
value in mgrdC (1/1000°C) | |
char | valueFile [56] |
value file path | |
char | valueGrdC [8] |
The value as floating point string. More... | |
A structure for 1-wire devices.
char valueGrdC[8] |
The value as floating point string.
This string is equivalent to ((float)value) / 1000.0 formatted right aligned with %6.2f. The bad value will be "-99.9 ". The function getTemp() will provide this strings without floating point arithmetic nor format string parsing. value in grdC (as %6.2f string)