Forum: Mikrocontroller und Digitale Elektronik Lcd Display funktioniert nicht


von Gorgi (Gast)


Angehängte Dateien:

Lesenswert?

Ich habe mir ein Dot-Matrix Lcd Display mit einem T6963C Controller
gekauft, leider bekomme ich es nicht an.
Ich habe es wie auf dem Datenblatt  „lcd.brd“ beschrieben angeschlossen
und mit dem Programm, welches sie unter dem Beitrag sehen, bestückt. Die
richtigen Signale kommen am Steckanschluss für das LCD an, dennoch
bleibt das Display unverändert dunkel.
Hoffentlich kann mir jemand bei diesem Problem weiterhelfen.






$regfile = "m8535.dat"                                      '
specify the used micro

$crystal = 8000000                                          ' used
crystal frequency

$baud = 19200                                               ' use baud
rate

$hwstack = 32                                               ' default
use 32 for the hardware stack

$swstack = 10                                               ' default
use 10 for the SW stack

$framesize = 40                                             ' default
use 40 for the frame space



'The connections of the LCD used in this demo

'LCD pin                  connected to

' 1        GND            GND

 '2        GND            GND

 '3        +5V            +5V

 '4        -9V            -9V potmeter

 '5        /WR            PORTC.4

 '6        /RD            PORTC.5

 '7        /CE            PORTC.6

 '8        C/D            PORTC.7

 '9        RESET          PORTC.3

 '10-17    D0-D7          PA

 '18       FS             PORTC.2




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




Cls

Cursor Off

Wait 1

Locate 1 , 1

Lcd "MCS Electronics"

Locate 2 , 1 : Lcd "T6963c support"

Locate 3 , 1 : Lcd "1234567890123456789012345678901234567890"

Locate 16 , 1 : Lcd "write this to the lower line"

Wait 2

End

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.