Forum: Mikrocontroller und Digitale Elektronik LCD Initialisierung ??


von pluto (Gast)


Lesenswert?

Hallo, kann mir jemand sagen was mit den 3 Kommandos genau eingestelllt 
wird?
Oder ob das so stimmt? Mir ist der Sinn des ganzen nicht so ersichtlich.

0b00101000  = setzt DDRAM Adresse auf 2
0b00001100  = setzt DDRAM Adresse auf 64
0b00000100  = setzt CGRAM Adresse auf 0


           ldi temp1, 0b00101000        ; noch was einstellen...
           rcall lcd_command
           ldi temp1, 0b00001100        ; ...nochwas...
           rcall lcd_command
           ldi temp1, 0b00000100        ; endlich fertig
           rcall lcd_command

Vielen Dank schonmal!

von Michael U. (Gast)


Lesenswert?

Hallo,

stimmt so nicht, allerdings hat mich der Kommentar im Tutorial auch 
schon gestört. ;)


           ldi temp1, 0b00101000        ; Interface 8 Bit, 2 Zeilen
           rcall lcd_command
           ldi temp1, 0b00001100        ; Display On, Cursor Off, Blink 
Off
           rcall lcd_command
           ldi temp1, 0b00000100        ; Decrement (warum 
eigentlich???) Shift Off

wenn ich jetzt auf die Schnelle richtig in der Tabelle gesucht habe...

Gruß aus Berlin
Michael


Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.