Hello I got a 8x32 LED MATRIX and use it in Combination with a Arduino Uno,
The Matrices DIN goes to my Arduino PIN 6
The Matrices 5v goes to my Arduino 3,3V output(because it doesnt lit up when using 5V)
GND to GND
Second. I tried setting up the Adafruit NeoMatrix library and there example code to desplay a Scrolling Text but it just wiggles weirdly arround, whenever I put my delay(to display the text faster) lower it is possible to see whats actually written.
VIDEO to Problem: -> 8x32 Matrix LED wiggling - YouTube
Third Problem white LED on bottom right stays always on no matter what I do. As soon as I power on the Matrix it lits up.
CODE USED:
#include <Adafruit_GFX.h>
#include <Adafruit_NeoMatrix.h>
#include <Adafruit_NeoPixel.h>
#define PIN 6
Adafruit_NeoMatrix matrix = Adafruit_NeoMatrix(32, 8, PIN,
NEO_MATRIX_BOTTOM + NEO_MATRIX_RIGHT +
NEO_MATRIX_COLUMNS + NEO_MATRIX_ZIGZAG,
NEO_GRB + NEO_KHZ800);
const uint16_t colors[] = {
matrix.Color(204, 0, 204), matrix.Color(204, 204, 0), matrix.Color(0, 255, 255),
matrix.Color(255, 10, 127), matrix.Color(127, 0, 255), matrix.Color(0, 255, 0),
matrix.Color(255, 99, 255)};
void setup() {
matrix.begin();
matrix.setTextWrap(false);
matrix.setBrightness(80);
matrix.setTextColor(colors[0]);
}
int x = matrix.width();
int pass = 0;
void loop() {
matrix.fillScreen(0);
matrix.setCursor(x, 0);
matrix.print("PURE BS");
if( --x < -110 ) {
x = matrix.width();
if(++pass >= 8) pass = 0;
matrix.setTextColor(colors[pass]);
}
matrix.show();
delay(70);
}
- Listenelement