A method for expanding the input capability of a microprocessor system to read at least one data input having a meaning defined by the user which is applied to the microprocessor system, the microprocessor system including a peripheral device having at least one device address input, the at least one data input coupled to the at least one device address input of the peripheral device, each data input having two states whereby the device address of the peripheral device is at least partially based upon the state of each data input, and a microprocessor coupled to the peripheral device, the method comprising the steps of:
- (a) attempting to communicate with the peripheral device by using one possible device address of the peripheral device;
- (b) repeating step (a) using different possible device addresses of the peripheral device until the peripheral device responds to the microprocessor;
- and
- (c) using the device address to which the peripheral device responds to determine the state of each data input, the state of each data input being interpreted by the microprocessor in accordance with the user-defined meaning of the respective data input.