Gast
#1762987
Hallo Comm.,
habe vor kurzem angefangen mit mikrocontrollern und wollte jetzt ein LCD
anschließen.
Ich programmiere in Bascom und habe ein 20x4 LCD mit KS0073 Chip.
Mikrocontroller ist der Atmega8515.
Das ausgeben von Text klappt noch nicht so wirklich.
---------------CODE START----------------------
$regfile = "m8515.dat"
$crystal = 16000000
Config Lcdpin = Pin , Db4 = Portd.4 , Db5 = Portd.5 , Db6 = Portd.6 ,
Db7= Portd.7 , E = Portd.3 , Rs = Portd.2
Config Lcd = 20 * 4
Config Lcdbus = 4
Do
Cls
Locate 1 , 1
Lcd "Hallo wie gehts?"
wait 10
Loop
End
---------------CODE ENDE----------------------
Das LCD zeigt mir nun folgendes an:
Zeile 1: Hallo wie gehts?
Zeile 2: hts?
Woran liegt das?