Makes the library actually usable by creating a mock neopixel_write module. This is needed to be able to import the main NeoPixel library for sub-classing. This library does not use neopixel_write and instead overrides show() to utilize the supplied SPI port.
Makes the library actually usable by creating a mock neopixel_write module. This is needed to be able to import the main NeoPixel library for sub-classing. This library does not use
neopixel_write
and instead overridesshow()
to utilize the supplied SPI port.Also Fixes #2
EDIT Also adds code to example.