Digital Alarm Clock Using Arduino Multi-function Shield

preview_player
Показать описание
A demonstration of a digital alarm clock developed for the Arduino multi-function shield. Works with Arduino R3 (Uno, Leonardo, Mega 2560) boards. For more info and the source code, visit:

.
Рекомендации по теме
Комментарии
Автор

Hi to all,
I modified the 24h alarm clock’s displayTime function to insert a dot “.” betwen hours and minutes.
Here my source:
void displayTime (byte hours, byte minutes)
{
char time[6];
char trime[6];

sprintf(trime, “%4d”, (hours * 100) + minutes);

time[0]=trime[0];
time[1]=trime[1];
time[2]=((char)46);
time[3]=trime[2];
time[4]=trime[3];

MFS.write(time, 2);
}

davidecosciani
Автор

Can anyone help me to adjust the time component loop? I think it should be the Clock ISR. My clock is running slower than normal, probably 1 min behind per hour.

dleung
Автор

Links to source code appear to not be working. ???

slh
visit shbcf.ru