Moin.

Also mit dem Wandern - keine Ahnung. Die Pixelfehler könnten evtl. ein schlechter Kontakt zwischen der Platine und dem Displayglas sein. Evtl. sind Deine Anschlusskabel zu lang - meine Erfahrungen max. 15cm.

Aber probier mal:

Code:
$regfile = "M32def.dat"                                     'Atmega 32
$crystal = 6000000                                          ' 6 MHz
$baud = 9600                                                'Baudrate der RS232 Schnittstelle
$hwstack = 150
$swstack = 120
$framesize = 150

$lib "glcdKS108.lib"

Wait 2

'for Glcd Ks108
Config Graphlcd = 128 * 64sed , Dataport = Portb , Controlport = Portc , _
Ce = 3 , Ce2 = 2 , Reset = 4 , Rd = 5 , Cd = 6 , Enable = 7


' Disable JTAG interface
Dim Bz As Byte
Bz = Mcucsr                                                 'READ VALUE OF &H34
Bz = Bz Or &H80

                                            'SET UPPER BIT
Mcucsr = Bz                                                 'WRITE TWICE TO DISABLE JTAG
Mcucsr = Bz


'The dataport is the portname that is connected to the data lines of the LCD
'The controlport is the portname which pins are used to control the lcd
'CE     = CS1  Chip select
'CE2    = CS2  Chip select second chip
'CD     = DI Data/instruction
'RD     = R/W Read/Write
'RESET  = RST reset
'ENABLE = E Chip Enable

Cls
Setfont Font8x8

do
  Wait 2
  Lcdat 1 , 3 , "SETUP MENU "
  Lcdat 3 , 3 , "Wait ....."
  Wait 5
  Cls
Loop

End

$include "Font8x8.font"
Zum Compilieren der LBX einfach STRG+I dann die glcdKS108 auswählen und compile drücken.

Gruss // André