def __init__(self, i2c_bus, i2c_address):
        self.logger = lib.get_logger()
        self.bot_config = lib.get_config()

        # Bus location and address of ADC.
        self.bus = i2c_bus
        self.addr = i2c_address

        # Handle off-bone runs
        if self.bot_config["test_mode"]["ADC"]:
            self.logger.debug("Running in test mode")
        else:
            self.logger.debug("Running in non-test mode")
Initialized I2C device
dataset/ETHPy150Open IEEERobotics/bot/bot/hardware/ADC.py/ADC.__init__