This shows you the differences between two versions of the page.
arduino:art-clockbell-code [2019/04/17 02:32] Ilias Iliopoulos created |
arduino:art-clockbell-code [2019/11/10 22:51] Ilias Iliopoulos Corrected the printing of a zero in the month field of LCD |
||
---|---|---|---|
Line 255: | Line 255: | ||
lcd.print(myday); | lcd.print(myday); | ||
lcd.print("."); | lcd.print("."); | ||
- | if (mymonth < 10); | + | if (mymonth < 10) |
lcd.print("0"); | lcd.print("0"); | ||
lcd.print(mymonth); | lcd.print(mymonth); |