def set_ports(self, port0 = 0x00, port1 = 0x00):
        'Writes specified value to the pins defined as output by method. Writing to input pins has no effect.'
        self.bus.write_byte_data(self.address, self.CONTROL_PORT0, port0)
        self.bus.write_byte_data(self.address, self.CONTROL_PORT0, port1)
        return
Writes specified value to the pins defined as output by method. Writing to input pins has no effect.