.tempF
DESCRIPTION
Returns a float with the temperature in Fahrenheit of the internal thermometer on DS3231. Remember that if DS3231 is in a seal box, or other electronic components that raise the temperature near the DS3231, the temperature will be an approximation.
SYNTAX
RTC.tempF();
PARAMETERS
none
RETURNS
A float of the temperature in Fahrenheit.
EXAMPLE
#include
#include
#include
#include
InvIoT_U1 lcd(A0, A1); InvIoT_RTC rtc; void setup() { rtc.init(); } void loop() { lcd.clear(); lcd.print(rtc.tempF()); lcd.print('F'); delay(250); }
SEE ALSO
.setYYMMDDHHMMSS
.setYYMMDD
.setHHMMSS
.getYYMMDDHHMMSS
.getTime24