Hallo mat,
hast du noch zufällt den code fürs Display den du verwendet hast? Vielleicht hab ich nur nen Fehler drinne den ich nicht find (sehr warscheinlich).
Der controller (mega64 im mega64mode) hat sich immer bei der Initialisierung (also config graphlcd..... ) aufgehängt. bin ganz und gar ratlos.
hier mal der code:
Code:
$regfile = "m64def.dat"
$crystal = 16000000
$baud = 19200
$include "glcdks108.lib"
Wait 2
Print "Config" <<< letztes Lebenszeichen vom Controller ' printing will still work as only the receiver pin is disabled
Config Portb = Output
Portb = 255
'First we define that we use a graphic LCD
Config Graphlcd = 128 * 64sed , Dataport = Portc , Controlport = Portd , Ce = 4 , Ce2 = 3 , Cd = 7 , Rd = 6 , Reset = 2 , Enable = 5
'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=Data/instruction
'RD=Read
'RESET = reset
'ENABLE= Chip Enable
Print "test" <<< kommt nicht mehr an
gruß Wolfgang
ERROR: ein fehler is schon gefunden, hab fälschlicherweise $include verwendet
Lesezeichen