yeahbut still.
One more question tough. why cant i run a for loop?
for count = 1 to 40
pulsout PORTC.1,200
pause 20
next count
yeahbut still.
One more question tough. why cant i run a for loop?
for count = 1 to 40
pulsout PORTC.1,200
pause 20
next count
COUNT is a reserved word, a command actually.
Change it to CNT ot something and it should work.
Code:for CNT = 1 to 40 pulsout PORTC.1,200 pause 20 next CNT
Dave
Always wear safety glasses while programming.
i ended up with a while loop, but il try the for loop.
Thx for the help. Il be coming back, waiting for a gps module it should be here in a couple of days
the for loop gave me and syntax errorCode:i = 1 while i<40 pulsout PORTC.1,pos i=i+1 pause 20 wend
Bookmarks