Current/voltage bidirectional sensor I2C