I have built a digital clock using Arduino and a 4Digit 7Seg display for the Hours and Minutes. The display use an I2c backpack. My problem is that for the Hours I sometimes need 2 digits and some times 1 Digit . I need to know how to blank out one of the digits when the Hour is less than 10. Can anyone help with the bit of code to do the blanking. Help Please ???
It would help if we knew exactly what display that you have. Also the code that you have now.