'-------------[LED BLINKING SHOW]--------------
LED VAR BYTE ' Our variable name is LED.
TRISB = %0000000 ' All pins of port B are output.
PORTB = 0 ' initially turn off all leds.
LED=0 ' Make LED variable initially zero.
Loop:
FOR LED=0 to 7
HIGH PORTB.LED ' --> problem occured.
PAUSE 1000
LOW PORTB.LED ' --> problem occured.
PAUSE 1000
NEXT LED
GOTO Loop
End
IS there any simple way to do this???
Bookmarks