1
0
Fork 0
This repository has been archived on 2019-12-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
arduinisten/projekte/attiny13/blink.asm
2011-02-23 23:00:15 +01:00

25 lines
242 B
NASM

.INCLUDE "tn13def.inc"
; data direction = output
sbi DDRB, 1 ; PB1
loop:
; clear bit
cbi PORTB, 1
; wait
loop1:
sbiw ZL, 1
brne loop1
; set bit
sbi PORTB, 1
; wait
loop2:
sbiw ZL, 1
brne loop2
; again! again! again!
rjmp loop