Hello everyone,I've attempted to make a thermometer using an LCD screen and 16 LEDs. My intention is to assign one LED to a range of temperature. So, I made this code and when I try to switch them off at a certain temperature they don't. I just tried with the first red LED starting from above and then I will with the rest.
I used the circuit shown in the picture repeated 16 times and the breadboard with the circuit implemented. What have I done wrong? I appreciate your help.
Sorry about the tags, but as you noticed I'm new to the forum.
About the code, I wanted to set those pins one LOW an the other HIGH just to check if one of them switch on and the other off if the temperture is higher than 20.