Reads the value of the potentiometer and turns the LED on or off depending on the potentiometer value, also prints this value to the PC.

Dependencies:   HIDScope mbed