Hallo nochmal!
Auch wenn ich gefahr laufe mich zu wiederholen; Ich habs noch nicht hinbekommen.
Folgende Einstellungen habe ich:
Ponyprog Fusebits:
JTAGEN
BOOTSZ1
BOOTSZ0
SUT0
CKSEL1-3
-> Häckchen gesetzt (müssten Werkseinstellungen des Mega32 sein)
Displayanschlüsse (YM12864C):
Kabellänge ca. 10cm
Kontakt geprüft
DB0 bis DB7 an PortA.0 bis PortA.7
CS1 an PortC.0
CS2 an PortC.1
RS an PortC.2
R/W an PortC.3
E an PortC.4
/RES an Reset des Mega32
Mein Testprogramm:
Code:
$regfile = "m32def.dat"
$crystal = 1000000
$lib "glcdKS108.lbx"
Config Graphlcd = 128 * 64sed , Dataport = Porta , Controlport = Portc , Ce = 0 , Ce2 = 1 , Cd = 2 , Rd = 3 , Enable = 4
Cls
Wait 1
Setfont Font8x8
Do
Lcdat 1 , 1 , "123"
Wait 1
Cls
Loop
End
$include "font8x8.font"
Folgender Fehler erscheint 2x:
Error:222 Line: 227 Illegal character [expected(,got"] ,inFile : E:\GLCD\TESTGLCD.BAS
Ich weiss einfach nicht was ich falsch mache oder woran es liegt.
Bin auch schon kurz vorm verzweifeln.
Marten83
Lesezeichen