Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (now.seconds() < 10) {
- lcd.print("0");
- }
- lcd.print(now.seconds());
- char timestr[9];
- snprintf(timestr, 9, "%02d:%02d:%02d", now.hours(), now.seconds(), now.minutes());
- lcd.print(timestr);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement