Firmware mods: new display modes

Tick Tock Clock Kits

Moderators: adafruit_support_bill, adafruit

Firmware mods: new display modes

Postby DigiSage » Mon Oct 12, 2009 12:50 pm

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 :)
User avatar
DigiSage
 
Posts: 20
Joined: Tue Sep 29, 2009 5:11 pm
Location: San Diego, CA

Re: Firmware mods: new display modes

Postby DigiSage » Mon Oct 12, 2009 2:46 pm

Here's a zip of the modified firmware & source code.

firmware09-30-09-digisage.zip
Ice Tube Clock firmware modified
(217.19 KiB) Downloaded 277 times
User avatar
DigiSage
 
Posts: 20
Joined: Tue Sep 29, 2009 5:11 pm
Location: San Diego, CA

Re: Firmware mods: new display modes

Postby adafruit » Mon Oct 12, 2009 4:58 pm

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" ;)
User avatar
adafruit
 
Posts: 10491
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: Firmware mods: new display modes

Postby DigiSage » Mon Oct 12, 2009 10:13 pm

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!
User avatar
DigiSage
 
Posts: 20
Joined: Tue Sep 29, 2009 5:11 pm
Location: San Diego, CA

Re: Firmware mods: new display modes

Postby tech8 » Wed Oct 14, 2009 5:42 pm

Very cool. :D
tech8
 
Posts: 2
Joined: Tue Sep 08, 2009 8:58 pm


Return to Clocks

Who is online

Users browsing this forum: No registered users and 2 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [103]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[61]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]