Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <pic18f4580.inc>
- org 0
- MAIN:
- BCF TRISD,0 ; CONFIGURE PORT AS OUTPUT
- FAINT:
- BSF PORTD,0 ; POSITVE CYCLE
- CALL DELAY
- BCF PORTD,0 ; NEGATIVE CYCLE
- CALL DELAY
- CALL DELAY
- GOTO FAINT
- END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement