Closed twitchyliquid64 closed 5 years ago
Citation needed.
Have a look at the first logic analyzer capture: https://cpldcpu.wordpress.com/2014/11/30/understanding-the-apa102-superled/
Page 4 of the datasheet seems to show the rising edge of the clock: https://cdn-shop.adafruit.com/datasheets/APA102.pdf
Adafruit's library sets it to mode 0: https://github.com/adafruit/Adafruit_DotStar/blob/master/Adafruit_DotStar.cpp#L188
@twitchyliquid64 I thought this SPI mode didn't work for you either?
@therealprof I found a bug in the SPI HAL I was using.
Oh, good to know.
Fixes #4