Spring 2017 PS-154L Variation with Cosmic Radiation with Shielding Material.
Fork of MPL3115A2 by
Diff: Temperature.cpp
- Revision:
- 4:99c7b631977d
- Parent:
- 0:beb43bc3d6d4
diff -r 7c7c1ea6fc33 -r 99c7b631977d Temperature.cpp --- a/Temperature.cpp Wed Apr 02 12:59:44 2014 +0000 +++ b/Temperature.cpp Thu May 11 16:25:01 2017 +0000 @@ -39,7 +39,7 @@ setTemperature(compressed[0], compressed[1]); } -void Temperature::setTemperature(const char msb, const char lsb) +void Temperature::setTemperature(const signed char msb, const signed char lsb) { float templsb = (lsb>>4) / 16.0; //temp, fraction of a degree _temperature = (float)(msb + templsb);