Quote Originally Posted by bh758 View Post
I was wondering if anyone here would be willing to write up some code for use on a Arduino Uno to have all lamps on a string to show the same color (same address for each node) and just control the RGB intensities of that address using the A0-A2 analog inputs on the Arduino Uno board?

A0=Red
A1=Green
A2=Blue

Example:
A0=5V
A1=~2.5V
A2=0

This would give (for the entire string of lights):
Red on full
Green at approx half intensity
Blue off

Of course this would be running continuously so any voltage changes would change the color of the string of lights.

Get what I am saying?

Can someone do this?
This should be relatively simple with analogRead command on the Arduino...

"The analogRead() command converts the input voltage range, 0 to 5 volts, to a digital value between 0 and 1023. This is done by a circuit inside the Arduino called an analog-to-digital converter or ADC. "

http://www.arduino.cc/en/Tutorial/AnalogInput

So in your example the results of the analogRead command on your 3 pins should be:

A0=1023
A1=511
A2=0

Hope it helps,
willnue