Hey! I have recently been interested in using an Infrared distance sensor to help guide an autonomous robot using an Arduino Uno microcontroller. I have not been able to find any code anywhere and I cannot program/code myself. Could someone help me out and find/make a sketch for me? It shouldn't be too much different from the sketch for a PING sensor; the only real difference is that my IR sensor uses infrared radiation/light whereas the PING sensor utilizes sound. I am using a SHARP GP2D120 IR Range sensor (4-30 cm range).