DOGM 0081 Bascom

OP #1270051
Lesenswert?
• ▲
▼
Hallo,

hat jemand das DOG-M 0081 (1*8) unter Bascom schon mal ansteuern können? 
Bei mir klappt es nicht, das Display bleibt komplett dunkel.

Angeschlossen ist das folgendermaßen:

Pin 24,25,26,32,33,34,35,40 --> +5
Pin 27,38 --> GND

D7 -> PortD.0
D6 -> PortD.1
D5 -> PortD.2
D4 -> PortD.3
E  -> PortD.4
RS -> PortD.5

Hiilfe :(
OP #1270081
Lesenswert?
• ▲
▼
Ich habe das Beispielprogramm aus der Hilfe genommen. Liegt das Problem 
evtl schon in der Initialisierung? Die ist nämlich für das 3-Zeilige 
gedacht...

1
$regfile = "M8def.dat"
2
$crystal = 1000000
3

4
Config Lcdpin = Pin , Db4 = Portd.3 , Db5 = Portd.2 , Db6 = PortD.1 , Db7 = PortD.0 , E = Portd.4 , Rs = Portd.5
5

6
Config Lcd = 16 * 3 , Chipset = Dogm163v5       '16*3 type LCD display
7

8
Cls                                            
9
Locate 1 , 1 : Lcd "Hello World"
10
Locate 2 , 1 : Lcd "line 2"
11
Locate 3 , 1 : Lcd "line 3"
12
End

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren