So I have a project using an LM35 temperature sensor and an LCD display. Right now, my code uses the display to display the temperature in both Fahrenheit and celsius on the same screen. I have wired a potentiometer that adjusts the backlight brightness.
The goal is to use the pushbutton as a toggle switch and be able to toggle between the fahrenheit reading on one screen and the celsius reading on another with a single push of the button. Can somebody show my how to do this? I will attach what I have so far. Thank you!!
LCD_final.ino (492 Bytes)