Hallo wobachm,
es kommt auch darauf an welches LCD Du genau hast,
Beispiele:
für SED-Chipsatz (Hyundai HP12542R-DYO von Pollin, aber grad nicht verfügbar)
oder bei diesem (BestNr. 120423, -424 und -425):Code:' Belegung Grafik-LCD ControlPort: ' 2 - RW Wr ' 3 - Enable Rd ' 4 - A0 Cd ' 5 - CS Ce ' 6 - Reset Reset $lib "glcdSED.lbx" Config Graphlcd = 128 * 64sed , Dataport = Portb , Controlport = Portc , Ce = 5 , Cd = 4 , Wr = 2 , Rd = 3 , Reset = 6
http://www.pollin.de/shop/detail.php...a=Njc1OTc4OTk=
Code:'KS0108 TG12864B ' Pin - LCD - Bascom ' 0 - CS1 - Ce ' 1 - nc ' 2 - D/I (A0) - Cd ' 3 - CS2 - Ce2 ' 4 - Enable - Enable ' 5 - R/W - Rd ' 6 - RET - Reset $lib "glcdKS108.lbx" Config Graphlcd = 128 * 64sed , Dataport = Portb , Controlport = Portd , Ce = 0 , Ce2 = 3 , Cd = 2 , Rd = 5 , Reset = 6 , Enable = 4





Zitieren

Lesezeichen