Modified C Code

4 LEDs light up depending on the potentiometer reading