代碼: 選擇全部
char buffer[9];
sprintf(buffer, "%02d:%02d:%02d", now.hour(), now.minute(), now.second());
lcd.print(buffer);
代碼: 選擇全部
char buffer[9];
sprintf(buffer, "%02d:%02d:%02d", now.hour(), now.minute(), now.second());
lcd.print(buffer);