Add read input state for Gpio Pins and implement +/- finctionality