Hey everyone,
I'm having a bit of trouble with my CJMCU 64-bit 8×8 RGB LED Driver Board. The LEDs light up, but they won't change colors like they're supposed to. Hoping someone here can help me out!
Here's my setup:
Board: CJMCU 64 Bit 8×8 RGB LED Driver
Microcontroller: Arduino Uno
Power Supply: 5V 2A
Library: Adafruit NeoPixel
The LEDs are stuck on one color and won't change no matter what I do. I've checked my wiring and code a million times, but still no luck.
I used example code from the Adafruit NeoPixel library to make sure my code isn't the issue. Swapped out the data and power wires just in case.
Here's my code-
#include <Adafruit_NeoPixel.h>
#define PIN 6
#define NUMPIXELS 64
Adafruit_NeoPixel pixels(NUMPIXELS, PIN, NEO_GRB + NEO_KHZ800);
void setup() {
pixels.begin();
}
void loop() {
for(int i=0; i<NUMPIXELS; i++) {
pixels.setPixelColor(i, pixels.Color(255, 0, 0)); // Red
pixels.show();
delay(500);
pixels.setPixelColor(i, pixels.Color(0, 255, 0)); // Green
pixels.show();
delay(500);
pixels.setPixelColor(i, pixels.Color(0, 0, 255)); // Blue
pixels.show();
delay(500);
}
}
It could be a faulty LED or board, or maybe the NeoPixel library isn't playing nice, or the data signal might be getting messed up!
Any tips or ideas would be awesome!
CJMCU 64 Bit 8×8 RGB LED Driver Board Stuck on One Color
-
- Information
-
Who is online
Users browsing this forum: No registered users and 2 guests
