Icetube date says 00-4-13 today

Tick Tock Clock Kits

Moderators: adafruit_support_bill, adafruit

Icetube date says 00-4-13 today

Postby NorthStreetLabs » Fri Jan 04, 2013 12:23 pm

Hey guys, great clock, I built mine last year after receiving it as a gift for christmas. been working great, but I noticed the date was wrong today, and upon further inspection I noticed there is a whole month for "00", somehow it relates to today the 4th of 00, as a tuesday. I simply changed the date an increment to "01" and then the date correctly corresponded to friday the 4th. Now, when I set the date beyond "12" it'll reset to "01" and never hits "00".

I am by far not complaining, I laughed pretty hard upon finding this glitch. But I am curious if this will happen again next year, if it's a code issue I wouldn't mind updating the code. Any ideas as to what caused it? And more confusing to me, how did it even correspond a different day to 00-04-13, considering this month doesn't even exist.

thanks for reading!
NorthStreetLabs
 
Posts: 2
Joined: Fri Jan 04, 2013 12:17 pm

Re: Icetube date says 00-4-13 today

Postby adafruit_support_rick » Fri Jan 04, 2013 1:34 pm

What firmware are you using? Mine says "Friday, Jan 04".
User avatar
adafruit_support_rick
 
Posts: 2844
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY

Re: Icetube date says 00-4-13 today

Postby NorthStreetLabs » Sat Jan 05, 2013 1:14 pm

Hey Driverblock,

Whatever firmware was shipped with the kit back in December 2011, I built it in january 2012 so I never saw this glitch last year.
NorthStreetLabs
 
Posts: 2
Joined: Fri Jan 04, 2013 12:17 pm

Re: Icetube date says 00-4-13 today

Postby adafruit_support_rick » Sat Jan 05, 2013 1:39 pm

The firmware hasn't changed since then, to my knowledge. How are you getting that display? When I press the '+' button, I get "Saturday, Jan 05". When I go into the menu to "Set Date", I get "01-05-13".

Hmmm … just had a quick look at the code. On startup, the month is not explicitly initialized to 1. If you built the thing in January, and didn't adjust the month from 0 when you first set it, then I think it would just go on happily from there, always 1 month behind.

But, I don't think it would wrap around back to 0 at the end of the year. I think that it would wrap back to January (i.e., '01') every Feb 1st.
User avatar
adafruit_support_rick
 
Posts: 2844
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY

Re: Icetube date says 00-4-13 today

Postby JD3 » Sat Jan 05, 2013 4:23 pm

Maybe it's something with the Mayan calendar? :roll:
That little black caterpillar you just stepped on will set you back a few bucks....
JD3
 
Posts: 100
Joined: Sat Jul 28, 2012 7:01 am


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 [105]

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[108]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[69]
 
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]