|
or, if you want something simpler, using the 2.5 code:
counter VAR WORD
counter = 0
inside the do...loop:
if counter++ > 500 then 'arbitrary time value
p1_x = 254
else
p1_x = 0
endif
should go forward for 13000 milliseconds, then go backwards.
change the 500 value up/down to have longer/shorter, it should incriment once every 26 ms (based on speeds of the default code)
Tyson
|