added the arduino code and fixed the handshaking in hardware test...