VGottselig / ESP32-RGB-Matrix-Display

Apache License 2.0
64 stars 13 forks source link

Library Usage #4

Open CaitsSB opened 6 years ago

CaitsSB commented 6 years ago

I downloaded and the Demo sketch work pretty good, but I still don't understand how the library works, I mean, there's a lot of code on the demo sketch and I tried to remove and test, but at some point it didn't work anymore. I just want to show some values on the display, adjusting the brightness, color and size of it. There's any simple way to do it or it's already simple and I don't understood ?

VGottselig commented 6 years ago

Hello CaitsSB, i do not understand your question. You have a working example. Modify it.

jhonoryza commented 6 years ago

is this library compatible with 16x32 rgb led?

VGottselig commented 6 years ago

Hello jhonoryza, yes, if your led-module use same principle. Let me see module description.

jhonoryza commented 6 years ago

is this library compatible with hub12 connector or hub08 connector ??

jhonoryza commented 6 years ago

i have test with hub08 connector and it works :), my display is RG p7 display 122x16 pixels i have another question, How to change fonts with this library?usage?

VGottselig commented 6 years ago

jhonoryza , see adafruit gfx library https://learn.adafruit.com/adafruit-gfx-graphics-library/using-fonts

dhruv217 commented 6 years ago

Hey, I am a bit confused as to how I will use this library with a 32x12 RGB panel(My panel has a Hub75 connector, the only difference I found was that the CH_D pin is replaced by ground). In the initial test, I connected the gpio pins on my esp32 with the board and just didn't connect the CH_D pin to anything. The board works and the colors work absolutely fine but the overall shape and design that the code draws is messed up. Can you give me some pointers on how to remedy this problem

VGottselig commented 6 years ago

32x12 panel? or 32x32?

dhruv217 commented 6 years ago

Sorry 32 x 16.

dhruv217 commented 6 years ago

Could you point me how would I modify the drawRow function to use just A, B and C. That would be very helpful.

VGottselig commented 6 years ago

Can you take a picture?

dhruv217 commented 6 years ago

Do you want to see the panel with the code running or just the port...? And if it's the panel then any task preferences like from any of these helloDemo, wheaterDemo, lavaDemo or primitivesDemo.

VGottselig commented 6 years ago

Yes. Video?

paccerdk commented 6 years ago

I actually have a 32x16 panel running your code right now. The lower half of the screen is bugged through all the demos (looks like random memory?) I've only changed

#define COLUMNS 32
#define ROWS 16

Interestingly enough, changing ROWS to 32 fills the whole display - but of course cuts/renders graphics out side of screen

Here's a video: video_2018-08-20_00-02-16.zip

The connector is as follows:

R1 | G1 B1 | GND R2 | G2 B2 | GND A | B C | NC CLK | STB/LAT OE | GND

I purchased it from here: https://www.aliexpress.com/item/Free-shipping-2016-Coreman-192X96mm-32X16-pixels-p6-led-display-module-Whole-seller-Factory-Price-p6/1000001365724.html

I wasn't sure if i should create a new issue or not, since this existed. Maybe you can rename the issue to something more descriptive?