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: ...
# Ultrasonic and Infrared Sensor with Arduino Uno ## Overview This project demonstrates how to use both an ultrasonic sensor and an infrared (IR) sensor with an Arduino Uno. The ultrasonic sensor is ...