Thanks much! I will try these out for sure.
Any input on interrupt processor or timing routine? For some reason once I hit the interrupt to select a menu item, if THAT menu item needs to use the BO button it does not respond..
Thanks much! I will try these out for sure.
Any input on interrupt processor or timing routine? For some reason once I hit the interrupt to select a menu item, if THAT menu item needs to use the BO button it does not respond..
not sure of me but what about if you modify that section
toCode:While selectit = 0 Mnu=1 ' we are in the menu system If Mmenu = 0 then While Mmenu = 0 ' waiting until wend ' push-button is release pause 100 ' debounce time Bmenu=Bmenu+1 ' increment each time B0 is presseed endif ' bo pressed – go to next menu
Code:FirstPass=1 While selectit = 0 Mnu=1 ' we are in the menu system If Mmenu = 0 then While Mmenu = 0 ' waiting until wend ' push-button is release pause 100 ' debounce time if FirstPass =0 then Bmenu=Bmenu+1 ' increment each time B0 is presseed endif ' bo pressed – go to next menu FirstPass=0
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
What does the new variable 'firstpass' do? Does it allow me to continue to use the BO and B1 buttons in submenus somehow?
My biggest problem is that when I interrupt, I go into the menu routine, but then if a SUBMENU routine there needs to use the buttons to choose things -- Like the LCDSettings: menu - they just don't do anything - I press buttons in this SubMenu routine (LCDsetting). This forces me to have a HUGE linear menu system which sucks... - ie 12 menu items vs say 4 top menus, each with 3 choices..
TG
Bookmarks