Library to control NeoPixel strings of RGB leds

Dependencies:   PixelArray

Dependents:   NeoPixelI2cSlave NeoPixelI2cSlave

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers neopixel_string_factory.h Source File

neopixel_string_factory.h

00001 #pragma once
00002 
00003 #include "neopixel_string.h"
00004 
00005 // By using a factory we avoid having to create the input for the SPI pin in the main file
00006 
00007 class NeoPixelStringFactory {
00008     
00009     public:
00010         static NeoPixelString * createNeoPixelString(PinName spi_pin, unsigned int length);
00011 };