Bekomme bei dem Lcd nur balken angezeigt .
hab schon verschiedene ports ausprobiert ohne erfolg , der controller funtkioniert einwandfrei weil ich noch eine led an einem pin hab.
Außerdem hab ich schon versucht die fusbits zu ändern ,dass allerdings auch nichts gebracht hat.
Im 4 bit mit und ohne busy geht auch nicht .


meine pinbelegung:

vss : +2V
vdd :+4,5
vo :GND (mit 10k poti)
rs :Pa3
r/w :Pa2 (je nach code auf Gnd oder halt pa2)
e a1
db7a7
db6a6
db5a5
db4a4

mein erster code:
Code:
$regfile = "m32def.dat"
$framesize = 32
$swstack = 32
$hwstack = 32
$crystal = 1000000



 Config Lcd = 16 * 2
 Config Lcdpin = Pin , Db4 = Porta.4 , Db5 = Porta.5 , Db6 = Porta.6 , Db7 = Porta.7 , E = Porta.1 , Rs = Porta.3


    Initlcd
 Cls
 Locate 1 , 1
 Lcd "77777777"

End


mein zweiter code:


 $lib "lcd4busy.lib"                                        
 $regfile = "m32def.dat"
 $crystal = 1000000

 Config Lcd = 16 * 2                                        
 Const _lcdport = Porta
 Const _lcdddr = Ddra
 Const _lcdin = Pina
 Const _lcd_e = 1
 Const _lcd_rw = 2
 Const _lcd_rs = 3

      Initlcd

 Cls                                                        'loesche das LCD Display
 Locate 1 , 1                                               'Cursor auf 1 Zeile, 1 Spalte
 Lcd "Hello world."                                         'String auf Display anzeigen
 Locate 2 , 1
 Lcd "hallo test "

End
link zum datenblatt: http://www.pollin.de/shop/downloads/D120060D.PDF

zur info ich bin noch blutiger anfänger

danke schon mal im voraus!!!