This setup takes the brightness from the photocell and displays it with 6 LEDs. To get rid of the ambient light there is a potentiometer "The Tweak"

The circuit: * LEDs from pins 2 through 7 to ground created 2006 by David A. Mellis modified 5 Jul 2009 by Tom Igoe This example code is in the public domain. http://www.arduino.cc/en/Tutorial/ForLoop

  • Photocell coming in on analog input based on examples from here http://www.ladyada.net/learn/sensors/cds.html

  • potentiometer coming in on analog input based on an example by Stefan Hermann http://fritzing.org/projects/color-fader/