... ein einfaches ganz minimalistisches I²C Bus Programm
Code:
Config Sda = Portx.x
Config Scl = Portx.y 

Const Pcf8574 = &H40         'Adresse PCF8574
I2csend Pcf8574 , &HFF       'alle Ausgänge auf Height
Die Adresse $40 gilt, wenn A0, A1 und A2 auf GND liegen.