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




Bookmarks