coding arduino program 101 class

For this assignment, you need to create an Arduino program that takes input from an IR distance sensor and controls an LED (you can use the default LED connected to pin 13 on the Arduino board) as follows: ï‚· If no object is within range of the sensor, the LED is not lit. ï‚· If an object is between 10 and 30 cm away from the sensor, the LED is lit. ï‚· If an object is between 30 cm and 80 cm away from the sensor, the LED blinks 5 times per second.

open the attached file for the instructions