arduino source code to integrate with iGate