Problema con Infrared sensor

en ese codigo quiero agregar un sensor infrarrojo que encienda un led en blynk pero e tenido problemas en como hacerlo

(Removed unformatted code)

Hello and welcome. Please read through the Welcome Topic about the proper procedures when posting.

Please be aware that we are volunteers here, and while we try to assist as best as able, with learning about Blynk, we do not teach you how to program nor do we do it for you. Google is your friend with finding code to control sensors, and then we can assist with guidance about how to integrate Blynk.

There are many good documents in the link below (and at the very top of this page) about how to integrate sensors and control your things with Blynk.

http://help.blynk.cc/

http://help.blynk.cc/getting-started-library-auth-token-code-examples/blynk-basics/how-to-display-any-sensor-data-in-blynk-app