I prefer like thisIF vertpulse < 512 THEN GOTO horizloop ELSE GOTO buttonloop
Using Alias to i/oCode:IF vertpulse < 512 THEN GOTO horizloop ELSE GOTO buttonloop ENDIF
Code:TRISA = 255 ' Set PORTA as input PushButton1 var PORTA.0 PushButton2 var PORTA.1 PushButton3 var PORTA.2 IF PushButton1 then ' Same as PushButton=1 ' do your stuff here ENDIF
Bookmarks