Hallo,
Ich habe LCD mit PCF8574 verbunden und Code von hier abgeschrieben. http://www.mcselec.com/index.php?opt...d=82&Itemid=57
LCD funktioniert. Am Anfang beim Einschalten zeigt LCD "Hallo Welt!"
LCD shiftet Text von links nach rechts und zurück.
Am Ende taucht dann Zeichen auf. Ich weiß es nicht, woran es liegt.
Bild hierCode:'I2C_LCD $regfile = "m8def.dat" $crystal = 1000000 $lib "Lcd_i2c.lib" Const Pcf8574_lcd = &H40 Config Scl = Portc.5 Config Sda = Portc.4 Dim _lcd_e As Byte _lcd_e = 128 Dim A As Byte Cls Lcd "Hallo Welt!" Wait 1 For A = 1 To 5 Shiftlcd Right Waitms 250 Next For A = 1 To 5 Shiftlcd Left Waitms 250 Next







Zitieren

Lesezeichen