#include #include PCF8574 inputbank1(0x21); void setup() { Wire.begin(14,33); Serial.begin(9600); boolean connected = inputbank1.begin(); Serial.println("connection state = "+String(connected)); inputbank1.write(0, HIGH); delay(50); inputbank1.write(1, HIGH); delay(50); } void loop() { for(int i=2;i<8;i++) { Serial.println(inputbank1.read(i)); delay(100); } }