Yes, but APA needs two legs. Data and clock,. Or I'm wrong?
Yes, but APA needs two legs. Data and clock,. Or I'm wrong?
Last edited by louislouis; - 30th January 2020 at 13:16.
Yes, you are right. Forgot that, sorry!
Ioannis
If you are trying to get a specific color from your RGB, and you aren't needing to change that color, use different value resistors from VREF to your individual LED legs and use the PIC to provide ground. For brightness control, you could use that one PWM pin on your PIC and vary duty cycle. You wouldn't be able to change the colors, due to the fixed resistors.
Not necessary, you can create clock and data using only one pin.
eg
https://www.romanblack.com/shift1.htm
This is customizable backlight, so user will be setting the color. Idea with shift register is nice, but if I have to add an extra IC, I can add say 12F683 and use it directly to drive RGB leds. Footprint will be much smaller![]()
You missed the point...
Use same RC circuit to drive APA LED. Apa have Data and Clock pin and you have one pin free.
Out of the box. A small PIC device running the 4 LEDs and reading a 2 bit serial pattern with a longish pause to sync.
George
Bookmarks