3. PROGRAM DAN CODING
$regfile = "m16adef.dat"
$crystal = 8000000
Config Porta = Output
Do
Porta = &B10000000
Waitms 1
Porta = &B11000000
Waitms 1
Porta = &B11100000
Waitms 1
Porta = &B11110000
Waitms 1
Porta = &B11111000
Waitms 1
Porta = &B11111100
Waitms 1
Porta = &B11111110
Waitms 1
Porta = &B11111111
Waitms 1
Loop
End