Sie wollen auch ein ePaper? Erhöhen Sie die Reichweite Ihrer Titel.
YUMPU macht aus Druck-PDFs automatisch weboptimierte ePaper, die Google liebt.
LC2:<br />
ILC2:<br />
Spalte2:<br />
LCDCL:<br />
sbi E1 ;Enable LCD Contr. 1<br />
nop<br />
nop<br />
nop<br />
cbi E1 ;Disable LCD Contr. 1<br />
ret<br />
rcall WARTEN_100u<br />
out PORTD,R16 ;Wert in PortD ausgeben ;4ms Pause<br />
nop<br />
nop<br />
sbi E2 ;Enable LCD Contr. 2<br />
nop<br />
nop<br />
nop<br />
cbi E2 ;Disable LCD Contr. 2<br />
ret<br />
;LCD<br />
ldi R16, 0xc0<br />
cbi RS ;LCD soll Steuerbefehl erhalten<br />
cbi RW ;LCD soll lesen<br />
rcall LC1<br />
rcall LC2<br />
cbi RW ;Disable LCD Contr. 1<br />
sbi RS ;Disable LCD Contr. 2<br />
ret<br />
;LCD löschen<br />
ldi R16, 0x01<br />
cbi RS ;LCD soll Steuerbefehl erhalten<br />
cbi RW ;LCD soll lesen<br />
rcall LC1<br />
rcall LC2<br />
cbi RW ;Disable LCD Contr. 1<br />
sbi RS ;Disable LCD Contr. 2<br />
ret<br />
;<strong>Tresor</strong> schließen<br />
TRSH: ;<strong>Tresor</strong> schließen-Label<br />
sbi PORTC,5 ;rote LED an<br />
Seite 24