forked from Makuna/NeoPixelBus
Segmetns use Ws2811 (#299)
This commit is contained in:
@@ -14,7 +14,7 @@ const uint8_t BusPin = 2; // make sure to set this to the correct pin, ignored
|
|||||||
|
|
||||||
#define brightness 128
|
#define brightness 128
|
||||||
|
|
||||||
NeoPixelSegmentBus<SevenSegmentFeature, Neo800KbpsMethod> strip(DigitCount, BusPin);
|
NeoPixelSegmentBus<SevenSegmentFeature, NeoWs2811Method> strip(DigitCount, BusPin);
|
||||||
|
|
||||||
void setup()
|
void setup()
|
||||||
{
|
{
|
||||||
|
@@ -18,7 +18,7 @@ const uint16_t SecondsDigit = 1;
|
|||||||
|
|
||||||
#define brightness 128
|
#define brightness 128
|
||||||
|
|
||||||
NeoPixelSegmentBus<SevenSegmentFeature, Neo800KbpsMethod> strip(DigitCount, BusPin);
|
NeoPixelSegmentBus<SevenSegmentFeature, NeoWs2811Method> strip(DigitCount, BusPin);
|
||||||
|
|
||||||
enum Animation
|
enum Animation
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user