A (slightly) better alarm clock - Please give me directions with the menus
Please HELP with controlling multiple menus on a serial LCD using 5 buttons!!!
·
Some time ago, I built an alarm clock that opens the curtains (drapes, blinds) and turn on the bedside lamp. The opening and closing times were hard coded and you had to reprogram the device every time you want to set the clock. I decided it’s time for an upgrade. I want to set different times for the weekend, different times for the different devices and occasionally disable appliances. I want to switch more appliances, possibly a coffee machine·and add an IR remote control.
I am battling with the menus on the 20 X 4 parallel LCD. I find arrays difficult and 3 dimension arrays are beyond me. To complicate matters, I would like (if possible) to use a neat circular 5 button assembly in my parts bin (Up, Down, +, -, Accept/Return)
The file OperationDetails.SXB is just a text file (no code) containing the current menu configuration.
The ZIP file is the code (I’m a Ctrl C, ·Ctrl V (Copy/Paste) programmer so you’ll see plenty of other people’s code in my program. I don’t know how one acknowledges other people’s proprietary rights when it comes to hobby software. Thanks Jon, Bean, Chris, Peter, Peter, ·Gúnther ete etc)
I’m also getting concerned about my program memory space, I have already used 60% and I’ve only implemented about half the features. I can put the data table in eeProm but I will still have a problem. I want to try and fit it into·one SX48
When things get this complex, I know I have lost my way. Time to talk to the professionals.
Thanks from the dark continent –Africa
John Bond
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Some time ago, I built an alarm clock that opens the curtains (drapes, blinds) and turn on the bedside lamp. The opening and closing times were hard coded and you had to reprogram the device every time you want to set the clock. I decided it’s time for an upgrade. I want to set different times for the weekend, different times for the different devices and occasionally disable appliances. I want to switch more appliances, possibly a coffee machine·and add an IR remote control.
I am battling with the menus on the 20 X 4 parallel LCD. I find arrays difficult and 3 dimension arrays are beyond me. To complicate matters, I would like (if possible) to use a neat circular 5 button assembly in my parts bin (Up, Down, +, -, Accept/Return)
The file OperationDetails.SXB is just a text file (no code) containing the current menu configuration.
The ZIP file is the code (I’m a Ctrl C, ·Ctrl V (Copy/Paste) programmer so you’ll see plenty of other people’s code in my program. I don’t know how one acknowledges other people’s proprietary rights when it comes to hobby software. Thanks Jon, Bean, Chris, Peter, Peter, ·Gúnther ete etc)
I’m also getting concerned about my program memory space, I have already used 60% and I’ve only implemented about half the features. I can put the data table in eeProm but I will still have a problem. I want to try and fit it into·one SX48
When things get this complex, I know I have lost my way. Time to talk to the professionals.
Thanks from the dark continent –Africa
John Bond
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
zip
![](/plugins/FileUpload/images/file.png)
14K