Configure the device.

        Send the device configuration saved inside the MCP342x object to the target device.

def configure(self):
        """Configure the device.

        Send the device configuration saved inside the MCP342x object to the target device."""
        logger.debug('Configuring ' + hex(self.get_address())
                     + ' ch: ' + str(self.get_channel())
                     + ' res: ' + str(self.get_resolution())
                     + ' gain: ' + str(self.get_gain()))
        self.bus.write_byte(self.address, self.config)