I had build clock from plans I found online and want to add 12/24 hour time and alarm to it.I am new to arduino and programming in general.Can someone modify code for me.For $$ or exchange for clock.
Here is link to clock build plans The TC18 – My IV-18 Based VFD Tube Clock – vonnieda.org
If you want to make the clock display the hour in the range 1 to 12, instead of 1 to 24, the fix is simple. Change:
byte h = Wire.receive();
to
byte h = Wire.receive();
if(h > 12)
h -= 12;
"Adding an alarm" is not as trivial. The Arduino that is powering the clock certainly knows the time, and could sound an alarm at a specific time. But, setting that time requires user input, as would enabling, disabling, and silencing the alarm. Not to mention the need to add a noise maker. How will that user input be supplied?