@ DEVICE pic16F628A
@ DEVICE pic16F628A, WDT_OFF
@ DEVICE pic16F628A, PWRT_OFF
@ DEVICE pic16F628A, BOD_OFF
@ DEVICE pic16F628A, PROTECT_OFF
@ DEVICE pic16F628A, MCLR_OFF
@ DEVICE pic16F628A, INTRC_OSC_NOCLKOUT
TRISB=0
PROG:
PROTB=%100001
PAUSE 9000
PORTB=%100010
PAUSE 3000
PORTB=1100
PAUSE 9000
PORTB=%010100
PAUSE 3000
GOTO PROG
END
Nenhum comentário:
Postar um comentário