sonyhome / FAB_LED

Fast Arduino Bitbang LED library supports programmable LEDs (WS2812B, APA102...), color palettes for Arduino AVR
GNU General Public License v2.0
125 stars 17 forks source link

APA102 not working #34

Open perigalacticon opened 3 years ago

perigalacticon commented 3 years ago

Could you please help me get the APA102 option working? I use the "apa102.ino" example sketch with an Uno. I attach one APA102 LED to pin 6 and 5 per the sketch notes: apa102<D,6,D,5> strip; and use pins D6 DATA, D5 CLK.

The sketch does not run correctly, I just get a constant on green color. I tried modifying the sketch with serial print commands to debug, and found the loop is running correctly, and tried using different pins. I also increased the delay to 1 second and I get the same problem.

If I upload the Adafruit Dotstar library example sketch, the AF sketch runs perfectly, with the exact same hardware setup, and it runs on any pins.

sonyhome commented 2 years ago

Hello,

I do not have APA-102's on hand at the moment to test out the library and confirm it still works correctly or got broken somehow. It is odd because that's the easiest LEDs to program.