Switching clock modes

gelloyd

New Member
I have a project which requires the input of a repeating alarm time before the application can function. The problem is the clock alarm only functions when the CLK jumper is in place and only accepts alarm set-up when the jumper is off!. I have tried shorting the jumpers via a relay under program control after I have initiated an alarm setup. The clock recognises that a jumper is now in place (time is displayed on LCD) but doesn't set the alarm output high.
I deduce from this that the state of the jumper (on or off) is only checked on power up.

Hardware is P28, Keypad, axe033 lcd and clock chip. In principle the user sets the clock alarm via the keypad with appropriate screen prompts and the program then runs using the clock alarm. The entire prog runs ok EXCEPT changing clock modes.

Any solutions on how to change clock modes on the fly gratefully received!!
 

BeanieBots

Moderator
If your AXE033 is the newer version, then the RTC chip can be addressed with I2C. This would allow you to generate the alarm in your program and hence do anything you wanted with it.
 
Top