Library to control NeoPixel strings of RGB leds

Dependencies:   PixelArray

Dependents:   NeoPixelI2cSlave NeoPixelI2cSlave

Committer:
dwini
Date:
Fri Apr 15 14:38:13 2016 +0000
Revision:
3:7d32f46a38d3
Parent:
0:66a5d46a740f
Been to long since i coded this.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dwini 0:66a5d46a740f 1 #pragma once
dwini 0:66a5d46a740f 2
dwini 0:66a5d46a740f 3 #include "neopixel_string.h"
dwini 0:66a5d46a740f 4
dwini 0:66a5d46a740f 5 // By using a factory we avoid having to create the input for the SPI pin in the main file
dwini 0:66a5d46a740f 6
dwini 0:66a5d46a740f 7 class NeoPixelStringFactory {
dwini 0:66a5d46a740f 8
dwini 0:66a5d46a740f 9 public:
dwini 0:66a5d46a740f 10 static NeoPixelString * createNeoPixelString(PinName spi_pin, unsigned int length);
dwini 0:66a5d46a740f 11 };