Hi guys:
I am working on a device with a 4 digit LED 7 segment display based around a 16f882
@ 8Mhz.
There are 2 momentary buttons.
For each feature in the device there needs to be set an associated value
So if there are 10 features, I need to cycle through them bidirectionally and then select 1 and then alter the associated value, also bidrectionally. Ideally the value should alter slowly if I hold down a button and then speed up after a bit.
Then I need to get back out to the feature menu level to move to another feature to setup.
When done I need to exit the menu
I Already have the debounced code in place to determine key up, key down & key hold down for each key. Each key status is stored in 1 byte GPR. I also have the strobing for the display and the computed goto lookup for converting binary to 7-segment digits, with alphanumerics. A 2 byte binary to decimal conversion is working as well to display numbers.
I am using all ASM.
I'd like to get any thoughts before jumping into this as it's my first menu. I can see that press/hold both buttons can start the Menu, then one button to cycle thru features & the other to select. To select the value, I'm thinking to use one button to toggle increase/decrease and the other the change value, and then press/hold the toggle button to accept the value?