Hi. How can i delay the clock to 30 seconds? I mean that the clock is shown for 30 seconds, then the higrometer shows for 3 seconds, then the date shows for 3 seconds, and then the time again for 30. I tried to to delay the clock with the given command, but if i delay it, the seconds are not showing one by one. It skips for example from 3 to 5, or 3 to 13 and so on.
baricz1:
Thank you very much. It works now. Can you explain what exactly you did? I see that the delay functions are cut out!
I had it look at the seconds, and decide what to display depending on the seconds. Look for the variable newsec in the code, and look for if statements.
Where does this line appear in the code?
And during which seconds of the minute are the temperature and humidity displayed? (Look at your project and observe what the display does.)