Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RGB MATRIX MULTI PANEL 64x32 #79

Open
tahafathi2013 opened this issue Mar 8, 2024 · 1 comment
Open

RGB MATRIX MULTI PANEL 64x32 #79

tahafathi2013 opened this issue Mar 8, 2024 · 1 comment

Comments

@tahafathi2013
Copy link

tahafathi2013 commented Mar 8, 2024

Hi
im use arduino mega2560 and two 64x32 16s. all good fore one panel but when add new pane as series all of screen one showing on screen two.
i want show a text on screen one and new text on screen two.

how make this?
you have a example code for this?

im use this code :

// testshapes demo for RGBmatrixPanel library.
// Demonstrates the drawing abilities of the RGBmatrixPanel library.
// For 32x64 RGB LED matrix.

// WILL NOT FIT on ARDUINO UNO -- requires a Mega, M0 or M4 board

#include <RGBmatrixPanel.h>

// Most of the signal pins are configurable, but the CLK pin has some
// special constraints. On 8-bit AVR boards it must be on PORTB...
// Pin 11 works on the Arduino Mega. On 32-bit SAMD boards it must be
// on the same PORT as the RGB data pins (D2-D7)...
// Pin 8 works on the Adafruit Metro M0 or Arduino Zero,
// Pin A4 works on the Adafruit Metro M4 (if using the Adafruit RGB
// Matrix Shield, cut trace between CLK pads and run a wire to A4).

//#define CLK 8 // USE THIS ON ADAFRUIT METRO M0, etc.
//#define CLK A4 // USE THIS ON METRO M4 (not M0)
#define CLK 11 // USE THIS ON ARDUINO MEGA
#define OE 9
#define LAT 10
#define A A0
#define B A1
#define C A2
#define D A3

RGBmatrixPanel matrix(A, B, C, D, CLK, LAT, OE, false, 64);

void setup() {

matrix.begin();

// fill the screen with 'black'
matrix.fillScreen(matrix.Color333(0, 0, 0));

// draw some text!
matrix.setTextSize(1); // size 1 == 8 pixels high
matrix.setTextWrap(false); // Don't wrap at end of line - will do ourselves

matrix.setCursor(8, 0); // start at top left, with 8 pixel of spacing

matrix.println();
//matrix.setTextColor(matrix.Color333(4,4,4));
//matrix.println("Industries");
matrix.setTextColor(matrix.Color333(7,7,7));
matrix.println("TAHA FATHI");
}

void loop() {
// Do nothing -- image doesn't change
}

IMG_20240308_214427

@marcmerlin
Copy link
Contributor

I'm not sure that library supports multiple panels, but you can try https://github.com/pixelmatix/SmartMatrix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants