'{$STAMP BS2}
'{$PBASIC 2.0}
'Program 1
row3  CON 0
row2  CON 1
row1  CON 2
LED1  CON 11
LED2  CON 10
LED3  CON 9
LED4  CON 8
LED5  CON 7
LED6  CON 6
LED7  CON 5
LED8  CON 4
LED9  CON 3


OUTPUT 0
OUTPUT 1
OUTPUT 2
OUTPUT 3
OUTPUT 4
OUTPUT 5
OUTPUT 6
OUTPUT 7
OUTPUT 8
OUTPUT 9
OUTPUT 10
OUTPUT 11

HIGH row1
HIGH row2
HIGH row3
LOW LED1
LOW LED2
LOW LED3
LOW LED4
LOW LED5
LOW LED6
LOW LED7
LOW LED8
LOW LED9

PAUSE 1000

LOW row3
HIGH led1
PAUSE 200
LOW led1

LOW row3
HIGH led2
PAUSE 200
LOW led2

LOW row3
HIGH led3
PAUSE 200
LOW led3

LOW row3
HIGH led4
PAUSE 200
LOW led4

LOW row3
HIGH led5
PAUSE 200
LOW led5

LOW row3
HIGH led6
PAUSE 200
LOW led6

LOW row3
HIGH led7
PAUSE 200
LOW led7

LOW row3
HIGH led8
PAUSE 200
LOW led8

LOW row3
HIGH led9
PAUSE 200
LOW led9









