AceTime
1.6
Date and time classes for Arduino that support timezones from the TZ Database, and a system clock that can synchronize from an NTP server or an RTC chip.
|
The temperature in Celcius as a signed (8.8) fixed-point integer. More...
#include <HardwareTemperature.h>
Public Member Functions | |
int16_t | toTemperature256 () const |
Return temperature in units of 1/256 degrees. | |
void | printTo (Print &printer) const |
Print HardwareTemperature to 'printer'. | |
Public Attributes | |
uint8_t | msb |
uint8_t | lsb |
The temperature in Celcius as a signed (8.8) fixed-point integer.
For negative temperatures, convert into a positive (8.8) integer, then print with a "-" in front of it. If you print just the (lsb / 256 * 100), it will be incorrect for negative temperatures.
Definition at line 22 of file HardwareTemperature.h.