PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : PCF 8574 ansteuern



philiph
03.12.2006, 08:11
Also ich wollte mal ein PCF 8574 ansteuern mit volgendem Code(siehe unten) aber entweder sind alle angeschlossenen LEDs an oder aus egal was ich sende


I2cstart
Input Inb 'Inb=byte
I2cwbyte Pcf8574write

I2cwbyte Inb
I2cstop

x-ryder
04.12.2006, 23:41
Input Inb 'Inb=byte
I2cinit
I2cstart
I2cwbyte Pcf8574write
I2cwbyte Inb
I2cstop

versuchs mal so