added input and output pins to the PiFaceDigital class