README
pixels-apa102
given ndpixels, return buffer to send over spi to apa102 leds
install
with npm
:
npm install --save pixels-apa102
given pixels, return buffer to send over spi to apa102 leds
<script type="module">
import pixelsApa102 from 'https://cdn.skypack.dev/pixels-apa102';
</script>
given ndpixels, return buffer to send over spi to apa102 leds
with npm
:
npm install --save pixels-apa102
pixelsToApa102Buffer = require('pixels-apa102')
apa102Buffer = pixelsToApa102Buffer(pixels)