Format main.asm
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
start: sbis PIND, 3 ; Check for sync pulse on the 3rd pin
|
start: sbis PIND, 3 ; Check for sync pulse on the 3rd pin
|
||||||
rjmp start
|
rjmp start
|
||||||
|
|
||||||
;-----Puls formation-----
|
;-----Pulse formation-----
|
||||||
|
|
||||||
ldi r18, 5 ; Delay 210 us
|
ldi r18, 5 ; Delay 210 us
|
||||||
ldi r19, 92
|
ldi r19, 92
|
||||||
@@ -28,7 +28,7 @@ pause1: dec r18
|
|||||||
|
|
||||||
sbi PORTD, 7 ; Setup 0 onto the 7th pin
|
sbi PORTD, 7 ; Setup 0 onto the 7th pin
|
||||||
|
|
||||||
ldi r18, 33 ; De;ay 6.5 us
|
ldi r18, 33 ; Delay 6.5 us
|
||||||
pause2: dec r18
|
pause2: dec r18
|
||||||
brne pause2
|
brne pause2
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user