Need some further advice.
I'm using three buttons to provide menu selection, via a list of options on an LCD
This works fine in displaying option I want, however I would like to then goto the desired option by pressing the set button. I triedCode:Main: LCDOUT $FE,2,"Night Time Settings" lcdout $FE, $C0, "Use + key for Option" IF !plus_butt THEN Option = option + 1 pause 150 IF option = 1 THEN lcdout $FE, $D4, "Set Number of Vivs " if option = 2 THEN lcdout $FE, $D4, "Set Start Times " if option = 3 THEN lcdout $FE, $D4, "Set Stop Times " if option >3 THEN option = 0 goto main
But that didn't work. Does anyone have any suggestions on how to get this working. I can't use "IF option = 1 goto vivs" as this would jump before options 2 and 3 could be selected...Code:if !set_butt AND option = 1 goto Vivs:




Bookmarks