Arduino code, interface btw. Computer and Sensor and Shift Register