![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
dd
Dependencies: BufferedSerial FastAnalogIn FastPWM mbed SHT75
Diff: tempsensort.cpp
- Revision:
- 10:c751a0e8b7f9
- Parent:
- 1:5c42ec7f1aeb
--- a/tempsensort.cpp Thu Mar 31 14:01:49 2016 +0000 +++ b/tempsensort.cpp Mon Jul 11 01:05:52 2016 +0000 @@ -24,5 +24,5 @@ float temp_sensor_t::get_temp() { - return (double)temperature_sensor->read_u16()/1024/64*165-40; + return (float)temperature_sensor->read_u16()/1024/64*165-40; }