def METHOD_NAME(self):
    import board
    import busio
    import digitalio
    import adafruit_mcp3xxx.mcp3008 as MCP
    from adafruit_mcp3xxx.analog_in import AnalogIn
    bcm_to_board = [
        board.D1,
        board.D2,
        board.D3,
        board.D4,
        board.D5,
        board.D6,
        board.D7,
        board.D8,
        board.D9,
        board.D10,
        board.D11,
        board.D12,
        board.D13,
        board.D14,
        board.D15,
        board.D16,
        board.D17,
        board.D18,
        board.D19,
        board.D20,
        board.D21,
        board.D22,
        board.D23,
        board.D24,
        board.D25,
        board.D26,
        board.D27
    ]
    # create the spi bus
    spi = busio.SPI(clock=self.input_dev.pin_clock, MISO=self.input_dev.pin_miso, MOSI=self.input_dev.pin_mosi)
    if self.input_dev.pin_cs < 1 or self.input_dev.pin_cs > 26:
        self.logger.error("CS Pin must be between 1 - 26.")
        return
    # create the cs (chip select)
    cs = digitalio.DigitalInOut(bcm_to_board[self.input_dev.pin_cs - 1])
    # create the mcp object
    mcp = MCP.MCP3008(spi, cs, ref_voltage=self.vref)
    self.channels = [
        AnalogIn(mcp, MCP.P0),
        AnalogIn(mcp, MCP.P1),
        AnalogIn(mcp, MCP.P2),
        AnalogIn(mcp, MCP.P3),
        AnalogIn(mcp, MCP.P4),
        AnalogIn(mcp, MCP.P5),
        AnalogIn(mcp, MCP.P6),
        AnalogIn(mcp, MCP.P7)
    ]