Again, thanks a lot.I got my TCA9555 boards today and your library works like a charm. First I got the address wrong (was 0x27, should be 0x20 - because I grounded all address bits). I used DO 0 to test the input. The board itself has LEDs for each input, which light up, when the signal is 0: very nice.