Still don't work...
First try:
the "code" generated is ... totally inadequate (picture 1).Code:;reading buttons on line 2 Portb.0 = 0 TrisA.1 = 1 pause 10 status_3 = PortA & %00011100 Portb.0 = 1 TrisA.1 = 0 select case status_3 case 20 gosub starting While (PortA & %00011100) = 20 Gosub VolUp wend end select Goto Main
Second try :
the "code" generated is ...full, with "header" at any VolUp command ! (picture 2).Code:;reading buttons on line 2 Portb.0 = 0 TrisA.1 = 1 pause 10 status_3 = PortA & %00011100 Portb.0 = 1 TrisA.1 = 0 select case status_3 case 20 gosub Starting Gosub VolUp While (PortA & %00011100) = 20 Gosub VolUp wend end select Goto main
What do I do wrong ?




Bookmarks