pixels-apa102

given pixels, return buffer to send over spi to apa102 leds

Usage no npm install needed!

<script type="module">
  import pixelsApa102 from 'https://cdn.skypack.dev/pixels-apa102';
</script>

README

pixels-apa102

given ndpixels, return buffer to send over spi to apa102 leds

apa102 buffer

install

with npm:

npm install --save pixels-apa102

usage

pixelsToApa102Buffer = require('pixels-apa102')

apa102Buffer = pixelsToApa102Buffer(pixels)