hello noob here,
I am able to use the Sharp GP2D12 sensor to turn on LEDs & motors.
I'm wondering if it's possible to use the sensor to control an array of LEDs. For example, the pattern of the LEDs movie faster when close to the sensor and than slow down when not.
I tried combining the code for the sensor w/ the array code from the Arduino Learning page (http://arduino.cc/en/Tutorial/Loop) but seem to be getting errors. not that good w/ coding yet.
any thoughts or feedback on this would be greatly appreciated.