Library to control NeoPixel strings of RGB leds

Dependencies:   PixelArray

Dependents:   NeoPixelI2cSlave NeoPixelI2cSlave

neopixel_string_factory.h

Committer:
dwini
Date:
2016-04-15
Revision:
3:7d32f46a38d3
Parent:
0:66a5d46a740f

File content as of revision 3:7d32f46a38d3:

#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);
};