Library to control NeoPixel strings of RGB leds
Dependents: NeoPixelI2cSlave NeoPixelI2cSlave
Diff: neopixel_string_factory.h
- Revision:
- 0:66a5d46a740f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/neopixel_string_factory.h Sun Oct 25 11:24:54 2015 +0000 @@ -0,0 +1,11 @@ +#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); +}; \ No newline at end of file