Firmware mods: new display modes

For RTC breakouts, etc., use the Other Products from Adafruit forum

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
DigiSage
 
Posts: 20
Joined: Tue Sep 29, 2009 6:11 pm

Firmware mods: new display modes

Post by DigiSage »

Over the weekend I added a new menu option called "set scnd", short for "set seconds display". It has three choices: "yes", "no" and "fast".

If you pick "yes", the Ice Tube Clock looks exactly the same.

If you pick "no", seconds are not displayed and a blinking dot is added between hours and minutes. If region is set to US, any leading 0 from hour is removed, and an A or P is added at the end of the clock to denote AM or PM.

If you pick "fast", then every display segment is used like this: HH.MM.SSxx where xx are hundredths of a second, so they scroll by really fast and look pretty nifty. See below video:

http://www.youtube.com/watch?v=Ce5uGABRwCk

I'll post the modified firmware in a little while, it's on my laptop which is at home and asleep, wife is going to wake it up for me when she gets back :)

Please pardon the horrible video quality and background setting/lighting :)

DigiSage
 
Posts: 20
Joined: Tue Sep 29, 2009 6:11 pm

Re: Firmware mods: new display modes

Post by DigiSage »

Here's a zip of the modified firmware & source code.
firmware09-30-09-digisage.zip
Ice Tube Clock firmware modified
(217.19 KiB) Downloaded 580 times

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: Firmware mods: new display modes

Post by adafruit »

wow! you are on a roll. That sounds cool :) I'm psyched that people are able to hack the firmware. I tried to comment it well. That is to say "well, I tried to comment it" ;)

DigiSage
 
Posts: 20
Joined: Tue Sep 29, 2009 6:11 pm

Re: Firmware mods: new display modes

Post by DigiSage »

I'm so glad you like it ladyada! You did comment it well, it would have been much harder without the comments. I see a lot of opportunities for refactoring, but it would be a pretty large project. What you wrote suits the kit perfectly: practical & not over-abstracted. I have a few more ideas to implement and will post more soon!

tech8
 
Posts: 2
Joined: Tue Sep 08, 2009 9:58 pm

Re: Firmware mods: new display modes

Post by tech8 »

Very cool. :D

Locked
Please be positive and constructive with your questions and comments.

Return to “Clock Kits (discontinued)”