Change read_raw_i2c_temp to return temp and humidity #419
Reference in New Issue
Block a user
Delete Branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Change read_raw_i2c_temp to read one or two float values from slave; one for temperature and the other for humidity.
Modified get_sensor_data to populate temp & hum based on the sensor type:
When the sensor type is "temp_raw_i2c" the resulting assignment is temp followed by hum.
When the sensor type is "hum_raw_i2c" the resulting assignment is hum followed by temp.
Added hum_raw_i2c and temp_raw_i2c to list of humdityCapableSensor's.
Arduino code for sending two float values:
Arduino code for sending a single float value:
or
We probably need to add this to the readme and wiki as well.