danke hubert du hast recht,aber dass trifft doch nur zu wenn ich die pcf bausteine auf meinem board benutze oder nicht??!!ich möchte aber einen externen Baustein benutzen . das heisst von meinem board möchte ich nur die leitungen sda und scl vom i2cbus abgreifen.daher meine frage


vielleicht kannst du mir auch hierbei helfen.benutze die bib von mcs um meine lcd anzusteuern.habe alles was ich nicht brauche gelöscht.ist das so auf einem blick richtig

$regfile = "m32def.dat"
$crystal = 8000000

$lib "Lcd_i2c.lib" 'My I2C driver for the LCD

Config I2cdelay = 1

Const Pcf8574_lcd = &H70 'Defines the address of the I/O expander for LCD


Config Scl = Portc.0 'Configure I2C SCL
Config Sda = Portc.1 'Configure I2C SDA


Dim A As Byte
Config Lcd = 16 * 2 'configure lcd screen

Cls 'clear the LCD display
Lcd "Hello world." 'display this at the top line

Return