Try the Learning page, or the Playground - plenty of articles exist on reading an analog value and writing something to LEDs based on that.
Try the Learning page, or the Playground - plenty of articles exist on reading an analog value and writing something to LEDs based on that.