There was an error while loading. Please reload this page. This project demonstrates how to use an IR sensor module with an LED controlled by an Arduino board. The IR ...
pinMode(IR_Pin, INPUT); // make the IR pin an INPUT: pinMode(GLED_Pin, OUTPUT); // make the LED pin an OUTPUT: pinMode(RLED_Pin, OUTPUT); // make the LED pin an input: ...