Library to control NeoPixel strings of RGB leds
Dependents: NeoPixelI2cSlave NeoPixelI2cSlave
neopixel_string_factory.h
- Committer:
- dwini
- Date:
- 2015-10-25
- Revision:
- 0:66a5d46a740f
File content as of revision 0:66a5d46a740f:
#pragma once #include "neopixel_string.h" // By using a factory we avoid having to create the input for the SPI pin in the main file class NeoPixelStringFactory { public: static NeoPixelString * createNeoPixelString(PinName spi_pin, unsigned int length); };