I read thru the datasheet but since most of it is way beyond my knowledge, I still have some questions. Given that I will use 10 LEDs (not 20) with 3.5V forward voltage and 20mA current:
1. What resistor value should I use? Looks like this combination will result in 1.64W of heat generated by the controller. Is there a formula that I could use to calculate the resistance needed?
2. The decoupling capacitor as stated in the datasheet should be between "0.05 µF to 2.2 µF". Given that I will stick with 1 LED per pin and the longest wire from Vled to anode will be 3 feet (down to 10" for the closest one), how do I calculate the actual value of the capacitor?
Sorry if those questions are very basic but like I stated, my electronics knowledge is very limited.
Thanks.