thanks for you suggestions but i don't think I was explaining myself properly, Anyway I nutted it out and got it working. cheers
Code:SetupLoop: LCDOut 254,1,"Set " SetupDisplayLoop: If CounterC=0 then LCDOut 254,132,"Real Time " endif If CounterC=1 then LCDOut 254,132,"On Time " endif If CounterC=2 then LCDOut 254,132,"Off Time " endif If CounterC=3 then LCDOut 254,132,"Date " endif If CounterC=4 then LCDOut 254,132,"Day Temp " endif If CounterC=5 then LCDOut 254,132,"Night Temp" endif If CounterC=6 then LCDOut 254,132,"MODE " endif If Enter = 1 then if CounterC=0 then Set_time If counterC=1 Then Set_ontime if counterC=2 Then Set_offtime if counterC=3 Then Set_Date if counterC=4 Then Set_dtemp if counterC=5 Then Set_ntemp if counterC=6 Then Set_Btemp endif IF UP = 1 THEN pause 100 IF CounterC < 6 THEN CounterC = CounterC + 1 ENDIF IF DOWN = 1 THEN pause 100 IF CounterC > 0 THEN CounterC = CounterC - 1 ENDIF goto setupdisplayLoop Set_time: Set_ontime: Set_offtime: Set_Date: Set_dtemp: Set_ntemp: Set_Btemp: End




Bookmarks