# SmartMatrix APA102 Library / Open Hardware Photon APA102 Shield

**URL:** <https://community.particle.io/t/smartmatrix-apa102-library-open-hardware-photon-apa102-shield/21562>\
**Category:** Libraries\
**Created:** [March 29, 2016, 3:52pm UTC](https://community.particle.io/t/smartmatrix-apa102-library-open-hardware-photon-apa102-shield/21562 "2016-03-29T15:52:38Z")\
**Posts on this page:** 1\
**Showing post:** 71

<div class="post-metadata">

**Author:** ![Jerware](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/jerware/32/1516_2.png) [@Jerware](https://community.particle.io/u/Jerware)\
**Post date:** [November 21, 2016, 3:41pm UTC](https://community.particle.io/t/smartmatrix-apa102-library-open-hardware-photon-apa102-shield/21562/71 "2016-11-21T15:41:14Z")

</div>

You’re right, @ScruffR… you need LEDCOUNT/2 + 1. It has been too long since i reviewed that site. But as for the end frame, the fact is the two chips are not 1:1 compatible. “Ones” work for the APA102 but not for the SK9822, and the site you linked suggests using ones is acceptable. This is why FastLED added a new class for the SK9822.

I have not seen the effect of non-set frames going all white, but perhaps that’s because I’ve always relied on libraries.

@kasper I’ll ask my friend to chime in here about GBC.

---

_[View the full topic](https://community.particle.io/t/smartmatrix-apa102-library-open-hardware-photon-apa102-shield/21562)._
