Actually, i have already tried on the link given above. But it is able to send only the hardcoded value. It's not able to sense the data from the sensor and send the data to the pipe.
Ok....Below I have attached both the programmes
Attached Below the same code of yours.