PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Glcd 240*128 (ea dip240b-7klw)



DEAF BOY
18.06.2011, 15:50
Hallo,

ich komme nicht weiter mit GLCD. Beim einschalten erscheint weißes Feld. Mit Poti lässt sich dimmen, aber kein Text zu sehen. FS und Mode ist laut Anleitung nicht enthalten???

http://www.lcd-module.de/pdf/grafik/dip240-7.pdf


$regfile = "m32def.dat"
$crystal = 16000000

'GND -> GND
'VDD -> +5V
'RV -> Poti 10K
'VEE -> ???
'WR -> PC.0
'RD -> PC.1
'CE -> PC.2
'C/D -> PC.3
'RST -> PC.4
'DB0 -> PA.0
'DB1 -> PA.1
'DB2 -> PA.2
'DB3 -> PA.3
'DB4 -> PA.4
'DB5 -> PA.5
'DB6 -> PA.6
'DB7 -> PA.7
'LEDoff -> 1 K
'A +5V -> +5V
'C GND -> GND

Config Graphlcd = 240 * 128 , Dataport = Porta , Controlport = Portc , Wr = 0 , Rd = 1 , Ce = 2 , Cd = 3 , Reset = 4 , Fs = 5 , Mode = 6

Cursor Off
Cls

Locate 1 , 1
Lcd "Hallo Welt"

peterfido
18.06.2011, 20:06
Du nutzt PortC. Da fällt mir erstmal die Standardfrage ein: JTAG ist Disabled?

DEAF BOY
19.06.2011, 10:44
Du nutzt PortC. Da fällt mir erstmal die Standardfrage ein: JTAG ist Disabled?

Du hast recht. Es geht wieder.