RC2019 – Potentiometer assignment – 1

Explanation: The code reads the value of the potentiometer connected to pin A5 and turns the LED connected to pin 5 stepwise from off to on.