You are on page 1of 1

program foquitoo ' Declarations section dim f as byte main: DDRD= 0xFF PORTD= 0x00 while TRUE for

f=0 to 7 PORTD.f = 1 Delay_ms (100) PORTD.f = 0 next f for f=6 to 1 step-1 PORTD.f = 1 Delay_ms (100) PORTD.f = 0 next f wend end.

' Set direction to be output

You might also like