I am trying to display two separate values on the one Adafruit 7 Segment LED Backpack Display at the same time. What I have is a temperature value (0-99) and a humidity value (0-99). I want the Temperature to be shown on the first two digits and the Humidity on the second two digits. For simplicity, if I have a value of, say, t=23 and a value of h=67, how can I make the display show 2367?
Hoping someone can help.
Please, post a picture of your 4-digit display unit and also the type of Arduino (UNO, NANO, MEGA).
You may follow this link.
(23 * 100) + 67 = 2367
Use (t * 100) + h to get the number to show on the display.
That is brilliantly simple!. Thank You.
Problem Solved by post#3 (odometer). Thank You.
We would like to see your codes/sketch and the connection diagram.
Project is still in progress, it will display temp/humidity (outside) using a Platinum RTD Sensor & Honeywell HIH-4030. It will also display temp/humidity (inside) using a BME680 board, plus display the air pressure and min/max temperatures over the last 24 hrs, so there will be a total of 4, 1.2", 4 digit, 7 segment Led displays. The plan is to mount it inside a Shadow Box Photo Frame, so there is much to do before wiring diagrams and sketches are completed.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.