help with monochron code

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
jmsunseri
 
Posts: 9
Joined: Mon Mar 01, 2010 1:34 pm

help with monochron code

Post by jmsunseri »

I'm trying to make some changes to the monochron code to allow the addition of new menu items in the config screen but I keep running into the same issue, the ticking clock next to the set time menu item is not easily moved. Where is the code that draws that on the screen? I need to be able to draw it one row higher or not draw it at all depending on what is going on.

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

Re: help with monochron code

Post by adafruit »

thats in ratt.c in the timer code

jmsunseri
 
Posts: 9
Joined: Mon Mar 01, 2010 1:34 pm

Re: help with monochron code

Post by jmsunseri »

I'm adding support for a "chime" on the clock. There are three chime settings, On (two tiny beeps on the hour), Off and Church Bell ( it rings once for each hour in the score ). I'm using your beep method in ratt.c to produce the audio but i'm finding that my beeping slows down/pauses the animation for a split second. I don't see this with the code that makes the alarm noise. What's the trick?

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

Re: help with monochron code

Post by adafruit »

not sure. we don't use the hardware oscillator, but the timer should just 'run' on its own

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

Return to “Clock Kits (discontinued)”