help with monochron code
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 9
- Joined: Mon Mar 01, 2010 1:34 pm
help with monochron code
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.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: help with monochron code
thats in ratt.c in the timer code
-
- Posts: 9
- Joined: Mon Mar 01, 2010 1:34 pm
Re: help with monochron code
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?
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: help with monochron code
not sure. we don't use the hardware oscillator, but the timer should just 'run' on its own
Please be positive and constructive with your questions and comments.