sci-oly-detector-building

[RADIOACTIVE] arduino thermometer for science olympiad
git clone git://git.figbert.com/sci-oly-detector-building.git
Log | Files | Refs | LICENSE

commit 4268fb61c8e8e845e61d049e30d7890c2f4fcf77
parent be83736fde607b269e0b5ad29414a51e9d45ec43
Author: therealFIGBERT <figbertwelner@gmail.com>
Date:   Thu, 20 Feb 2020 13:45:31 -0800

:pencil2: Add units to printed temperatures

Diffstat:
MOperational/Operational.ino | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Operational/Operational.ino b/Operational/Operational.ino @@ -39,9 +39,9 @@ void loop() { celsius = 1.0 / celsius; celsius -= 273.15; lcd.setCursor(5, 0); - lcd.print(celsius); + lcd.print(String(celsius) + "C"); float fahrenheit = (celsius * 1.8) + 32; lcd.setCursor(5, 1); - lcd.print(fahrenheit); + lcd.print(String(fahrenheit) + "F"); delay(1000); }