Now this is getting silly !
The above test even fails... it simple runs the main loop and doesn't branch off to the down routine !Code:Main: for i = 1 to 254 Pwm GPIO.0,i,1 if i=253 then goto down next i down: high gpio.0 pause 1000 low gpio.0 goto main
EDIT:
As does the following
This is doing my head inCode:Main: for i = 1 to 254 Pwm GPIO.0,i,1 if i=253 then t=1 if t=1 then goto down next i
Bookmarks