still not functioning
hi all
i tried to implement the flag idea, but still the same result. menu item cycles through 3 to 6 items with one push of a button. here's the code snippet
Code:
RB_MainMenuLoop:
' BTN_PLUS is the Next Choice button
PAUSE 1
IF BTN_PLUS=0 THEN
;PAUSE 200
IF FLAG_PLUS = 0 THEN
bMenuPos=bMenuPos+1
FLAG_PLUS = 1
ELSE
FLAG_PLUS = 0
IF BTN_PLUS = 0 THEN FLAG_PLUS = 1
;ENDIF
IF bMenuPos>22 THEN
bMenuPos=1
ENDIF
ENDIF
Goto DisplayMainMenuLoop:
ENDIF
im beginning to think that debouncing is not the problem. is there any other way to skin this cat?
NAG CON WIFE!
WIFE VAR MOOD
Bookmarks