-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
P6 32x32 qiangli New MATRIX TYPES #38
Comments
Hi again :) By info from the panel sticker, your matrix contains a two IC : DP5125C + DP32020 |
In your code above
Leave other code not changed, run the test and show the results. |
Untitled.2.mp4 |
something goes wrong... |
how to check? |
The main driver DP5125 is the same as in your issue #23, which we finally were able to run correctly. So everything should work with this config. Please double check all connections, especially the connections of pins A B C on the panel and the corresponding pins on the RP Pico board. If possible, ask the seller for datasheets for IC chips |
Issue#23 same wiring connection used |
Thank you. |
Unfortunately, I have found that shift multiplexing currently doesn't work with Raspberry Pico. |
ok sir |
Please replace two files in the library with files from archive and try the last test again |
Untitled.3.mp4 |
please check |
Thank you, Now we need to find the coordinate transformation, this may take time. |
ok sir than you. |
Hi
and run test for every of this matrix defines, show the results. If you have any questions feel free to ask |
#define RGB32x32_S8_maxmurugan3 3,32,32,8,1 // 32x32 1/8 RGB32x32_S8_maxmurugan3.mp4 |
#define RGB32x32_S8_maxmurugan4 3,32,32,8,2 // 32x32 1/8 RGB32x32_S8_maxmurugan4.mp4 |
#define RGB32x32_S8_maxmurugan5 3,32,32,8,33 // 32x32 1/8 Untitled.3.mp4 |
sorry for the delay response |
I try your last option #define RGB32x32_S8_maxmurugan5 3,32,32,8,33 // 32x32 1/8 working but more then 1 panel scrolling issue please check video 2.modue.MOVfile |
Sorry, last time I posted a wrong file. Test with this one and use this option:
|
it is showing error C:\Pico_Arduino\libraries\DMD_STM32-dev-V2/DMD_Panel_Templates.h:206:10: error: 'uint16_t DMD_RGB<3, 32, 32, 8, 33, COL_DEPTH>::get_base_addr(int16_t, int16_t) [with int COL_DEPTH = 4; uint16_t = short unsigned int; int16_t = short int]' marked 'override', but does not override |
test this |
template
}; this working morethen one module |
add extra line copy from old verstion { |
You are right, thank you! |
ok sir |
Fixed in v1.0.6 |
Hi sir
I am now using new p6 32x32 matrix with 1/8 scan
please check module picture and code
/*--------------------------------------------------------------------------------------
Demo for RGB panels
DMD_STM32a example code for STM32 and RP2040 boards
Pattern test for 32x16 1/2 1/4 RGB panels
------------------------------------------------------------------------------------- */
#include "DMD_RGB.h"
//Number of panels in x and y axis
#define RGB32x32_S8_maxmurugan 3,32,32,8,1 // 32x32 1/8 matrix from @maxmurugan
#define DISPLAYS_ACROSS 1
#define DISPLAYS_DOWN 1
// Output buffering - false
#define ENABLE_DUAL_BUFFER false
// ==== DMD_RGB pins ====
// mux pins - A, B, C... all mux pins must be selected from same port!
#define DMD_PIN_A 6
#define DMD_PIN_B 7
#define DMD_PIN_C 8
#define DMD_PIN_D 9
#define DMD_PIN_E 10
// put all mux pins at list
uint8_t mux_list[] = { DMD_PIN_A , DMD_PIN_B , DMD_PIN_C , DMD_PIN_D , DMD_PIN_E };
#define DMD_PIN_nOE 15
#define DMD_PIN_SCLK 12
uint8_t custom_rgbpins[] = { 11, 16,17,18,19,20,21 }; // CLK, R0, G0, B0, R1, G1, B1
DMD_RGB <RGB32x32_S8_maxmurugan, COLOR_4BITS> dmd(mux_list, DMD_PIN_nOE, DMD_PIN_SCLK, custom_rgbpins, DISPLAYS_ACROSS, DISPLAYS_DOWN, ENABLE_DUAL_BUFFER);
uint16_t bg = 0; // background - black
uint16_t fg = 0; // foreground
void setup(void)
{
dmd.init();
fg = dmd.Color888(0, 0, 255);
dmd.setBrightness(50);
}
void loop(void) {
// fill the matrix with points row by row
for (int i = 0; i < dmd.height(); i++) {
for (int j = 0; j < dmd.width(); j++) {
dmd.drawPixel(j,i, fg);
delay(40);
}
}
// clear the screen
dmd.fillScreen(bg);
}
Untitled.1.mp4
The text was updated successfully, but these errors were encountered: