Hallo erstmal,
ich brauche hilfe von euch. Für mein aktuelles Projekt will ich das LCD Modul C0802-04 von pollin ( http://www.pollin.de/shop/dt/NzczOTc..._C0802_04.html )
Ob alles richtig verbunden ist habe ich schon mehrfach mit einem durchgangsprüfer kontrolliert.
Naja und ich weiß auch das Bascom nich direkt 8 x 2 LCDs unterstützt. Im programm habe ich jetzt schon verschiedene LCD configurationen vversucht ( 16 * 2 und 16 * 1a ).
Manchmal zeigt es kryptische zeichen, manchmal die obere zeile schwarz und manchmal garnichts an. Hab ich ein Wackelkontakt? oder liegts an meinem programm???
Code:$regfile = "m8def.dat" $crystal = 8000000 Config Portb.2 = Output Status Alias Portb.2 Config Portb.0 = Output Config Portd.3 = Output Config Portd.4 = Output Config Portd.5 = Output Config Portd.6 = Output Config Portd.7 = Output Config Lcdpin = Pin , Rs = Portb.0 , E = Portd.3 , Db4 = Portd.4 , Db5 = Portd.5 , Db6 = Portd.6 , Db7 = Portd.7 Config Lcd = 16 * 2 Cls Wait 2 Do Toggle Status Wait 1 Locate 1 , 1 : Lcd "hallo" Loop End
ich hoffe ihr könnt mir irgendwie helfen.
Gruß Max
danke schon im vorraus







Zitieren
Lesezeichen