Go Down

Topic: [Solved]using robs dht11 library c to f conversion is this the best way? (Read 660 times) previous topic - next topic

PaulS

Given that the sensor only returns integer values, why would you want to store a 4 byte float in EEPROM instead of a 2 byte int? Storing a 2 byte int is easy - use highByte() and lowByte() to get the bytes.

grendle

ok thank you, that makes sense. i appreciate the response. i think i am confusing myself and making it more difficult than it is. i will take your advice and experiment with this. thanks again for helping, Rob and Paul.

Go Up