3-IR-Sensor-Motor-Driver-test 3 Infrared Sensor with L298N Motor Driver The code assumes the IR sensor Outputs HIGH on light coloured surface and Produces LOW on dark coloured surfaces.