def get_ports(self):
        'Reads logical values at pins.'
        return (self.bus.read_byte_data(self.address, self.STATUS_PORT0), self.bus.read_byte_data(self.address, self.STATUS_PORT1));
Reads logical values at pins.