
Full size image: http://www.kymark.com/spiled.jpg
Here is the link to the datasheet for the digital pot chip I am using (it is the 8 pin one).
http://ww1.microchip.com/downloads/en/d ... 11195c.pdf

I was thinking maybe I would try a different chip.... maybe one with an I2C interface since I will eventually need three different pots for my project and it seems from my reading that it is easier to add more I2C devices.I think the basic logic of the wiring is OK, but when I look at the data sheet the maximum wiper current is supposed to be 1mA which means driving the LED directly is going to be very limited. You would need an analog buffer between the chip and the LED if you wanted to get a decent amount of LED current.
Interesting
I thought of using a digital Pot before, to control a cheap household dimmer for 230VAC lamps.