Issue with TM1814 #591
Unanswered
morganm5665
asked this question in
Q&A
Replies: 1 comment
-
Please search before asking. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'm new to Arduino and I'm trying to get TM1814 lights working with an Arduino Uno R3. I've installed the NeoPixelBus library and downloaded a fresh Arduino ide but when I run the following code I keep getting this initial error:
NeoPixelTest:28:35: error: 'NeoTm1814Method' was not declared in this scope
NeoPixelBus<NeoWrgbTm1814Feature, NeoTm1814Method> strip(PixelCount, PixelPin);
Could someone point out where I'm going wrong? Thanks!
code:
#include <NeoPixelBus.h>
#include <NeoPixelSegmentBus.h>
#include <NeoPixelAnimator.h>
#include <NeoPixelBrightnessBus.h>
const uint16_t PixelCount = 300;
const uint8_t PixelPin = 9;
#define colorSaturation 128
NeoPixelBus<NeoWrgbTm1814Feature, NeoTm1814Method> strip(PixelCount, PixelPin);
RgbColor red(colorSaturation, 0, 0);
RgbColor green(0, colorSaturation, 0);
RgbColor blue(0, 0, colorSaturation);
RgbColor white(colorSaturation);
RgbColor black(0);
HslColor hslRed(red);
HslColor hslGreen(green);
HslColor hslBlue(blue);
HslColor hslWhite(white);
HslColor hslBlack(black);
void setup()
{
Serial.begin(115200);
while (!Serial); // wait for serial attach
}
void loop()
{
delay(5000);
}
Beta Was this translation helpful? Give feedback.
All reactions