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
Code:I2cstart
Input Inb 'Inb=byte
I2cwbyte Pcf8574write
I2cwbyte Inb
I2cstop
Druckbare Version
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
Code:I2cstart
Input Inb 'Inb=byte
I2cwbyte Pcf8574write
I2cwbyte Inb
I2cstop
Input Inb 'Inb=byte
I2cinit
I2cstart
I2cwbyte Pcf8574write
I2cwbyte Inb
I2cstop
versuchs mal so