Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

help with monochron code
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

help with monochron code

by jmsunseri on Sun Mar 14, 2010 1:54 am

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

Re: help with monochron code

by adafruit on Sun Mar 14, 2010 1:54 pm

thats in ratt.c in the timer code

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

Re: help with monochron code

by jmsunseri on Mon Mar 15, 2010 12:57 am

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

Re: help with monochron code

by adafruit on Mon Mar 15, 2010 11:31 am

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

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

Please be positive and constructive with your questions and comments.