A control device (42) for use in a motor vehicle includes at least one input that has an input port (12), at least one input channel (20, 38), and an input circuitry (43) and receives signals from a sensor (10, 34) via the input port (12) and sends the signals via the input circuitry (43) to the input channel (20, 38). The input port (12) is connected to a defined voltage via a resistor. The input circuitry (43) has a pull-up switch (44) that can be actuated by the control device (42), which controls connection of the input port (12) to a high voltage, and a pull-down switch (46) that can be actuated by the control device (42), which controls connection of the input port (12) to a low voltage. A method adapts the control device (42) to the sensor (10, 34), which is connected to the control device (42).