LED panel P10

When I try to compile, example of DMD master dmd_demo using arduino 1.8 IDE on the arduino uno chines model, comes following message.

"In file included from /home/namal/Arduino/libraries/DMD-master/examples/dmd_demo/dmd_demo.pde:43:0:
/home/namal/Arduino/libraries/DMD-master/DMD.h:52:2: warning: #warning CHANGE THESE TO SEMI-ADJUSTABLE PIN DEFS! [-Wcpp]
#warning CHANGE THESE TO SEMI-ADJUSTABLE PIN DEFS!"

Is that error?

and not working panel character properly.

Namal

Is that error?

It is a warning, not an error.

That is not to say that the logic and actions of your code are correct. Please post it here.

Ok.

#include <SPI.h> //SPI.h must be included as DMD is written by SPI (the IDE complains otherwise)
#include <DMD.h> //
#include <TimerOne.h> //
#include "SystemFont5x7.h"
#include "Arial_black_16.h"

//Fire up the DMD library as dmd
#define DISPLAYS_ACROSS 1
#define DISPLAYS_DOWN 1
DMD dmd(DISPLAYS_ACROSS, DISPLAYS_DOWN);

/--------------------------------------------------------------------------------------
Interrupt handler for Timer1 (TimerOne) driven DMD refresh scanning, this gets
called at the period set in Timer1.initialize();
--------------------------------------------------------------------------------------
/
void ScanDMD()
{
dmd.scanDisplayBySPI();
}

/--------------------------------------------------------------------------------------
setup
Called by the Arduino architecture before the main loop begins
--------------------------------------------------------------------------------------
/
void setup(void)
{

//initialize TimerOne's interrupt/CPU usage used to scan and refresh the display
Timer1.initialize( 5000 ); //period in microseconds to call ScanDMD. Anything longer than 5000 (5ms) and you can see flicker.
Timer1.attachInterrupt( ScanDMD ); //attach the Timer1 interrupt to ScanDMD which goes to dmd.scanDisplayBySPI()

//clear/init the DMD pixels held in RAM
dmd.clearScreen( true ); //true is normal (all pixels off), false is negative (all pixels on)

}

/--------------------------------------------------------------------------------------
loop
Arduino architecture main loop
--------------------------------------------------------------------------------------
/
void loop(void)
{
byte b;

// 10 x 14 font clock, including demo of OR and NOR modes for pixels so that the flashing colon can be overlayed
dmd.clearScreen( true );
dmd.selectFont(Arial_Black_16);
dmd.drawChar( 0, 3, '2', GRAPHICS_NORMAL );
dmd.drawChar( 7, 3, '3', GRAPHICS_NORMAL );
dmd.drawChar( 17, 3, '4', GRAPHICS_NORMAL );
dmd.drawChar( 25, 3, '5', GRAPHICS_NORMAL );
dmd.drawChar( 15, 3, ':', GRAPHICS_OR ); // clock colon overlay on
delay( 1000 );
dmd.drawChar( 15, 3, ':', GRAPHICS_NOR ); // clock colon overlay off
delay( 1000 );
dmd.drawChar( 15, 3, ':', GRAPHICS_OR ); // clock colon overlay on
delay( 1000 );
dmd.drawChar( 15, 3, ':', GRAPHICS_NOR ); // clock colon overlay off
delay( 1000 );
dmd.drawChar( 15, 3, ':', GRAPHICS_OR ); // clock colon overlay on
delay( 1000 );

dmd.drawMarquee("Scrolling Text",14,(32*DISPLAYS_ACROSS)-1,0);
long start=millis();
long timer=start;
boolean ret=false;
while(!ret){
if ((timer+30) < millis()) {
ret=dmd.stepMarquee(-1,0);
timer=millis();
}
}
// half the pixels on
dmd.drawTestPattern( PATTERN_ALT_0 );
delay( 1000 );

// the other half on
dmd.drawTestPattern( PATTERN_ALT_1 );
delay( 1000 );

// display some text
dmd.clearScreen( true );
dmd.selectFont(System5x7);
for (byte x=0;x<DISPLAYS_ACROSS;x++) {
for (byte y=0;y<DISPLAYS_DOWN;y++) {
dmd.drawString( 2+(32x), 1+(16y), "freet", 5, GRAPHICS_NORMAL );
dmd.drawString( 2+(32x), 9+(16y), "ronic", 5, GRAPHICS_NORMAL );
}
}
delay( 2000 );

// draw a border rectangle around the outside of the display
dmd.clearScreen( true );
dmd.drawBox( 0, 0, (32DISPLAYS_ACROSS)-1, (16DISPLAYS_DOWN)-1, GRAPHICS_NORMAL );
delay( 1000 );

for (byte y=0;y<DISPLAYS_DOWN;y++) {
for (byte x=0;x<DISPLAYS_ACROSS;x++) {
// draw an X
int ix=32x;
int iy=16
y;
dmd.drawLine( 0+ix, 0+iy, 11+ix, 15+iy, GRAPHICS_NORMAL );
dmd.drawLine( 0+ix, 15+iy, 11+ix, 0+iy, GRAPHICS_NORMAL );
delay( 1000 );

// draw a circle
dmd.drawCircle( 16+ix, 8+iy, 5, GRAPHICS_NORMAL );
delay( 1000 );

// draw a filled box
dmd.drawFilledBox( 24+ix, 3+iy, 29+ix, 13+iy, GRAPHICS_NORMAL );
delay( 1000 );
}
}

// stripe chaser
for( b = 0 ; b < 20 ; b++ )
{
dmd.drawTestPattern( (b&1)+PATTERN_STRIPE_0 );
delay( 200 );
}
delay( 200 );

}

not working panel character properly.

What should the program do ?
What does it actually do ?

sir i want to add more p10 board.what are the changes from dmd example

bijoy4638:
sir i want to add more p10 board.what are the changes from dmd example

I have no experience of the library but this

DMD dmd(DISPLAYS_ACROSS, DISPLAYS_DOWN);

creates one instance so you could probably create a second one named anotherDmd like this

DMD anotherDmd(DISPLAYS_ACROSS, DISPLAYS_DOWN);

Whether it will work I have no idea !

Whether it works or not, please give the objects better names than in my description.

if u have a sketch......for p10 16x64 or 16x96
pliz that setch

Any one please give me the link or direction to get internal circuit diagram of HUB75 (P6)

Thanks

Hi , I need to use arduino with multi rows P10 LED module can you help me which arduino can be useful for me ansd if I need more components ?

Could you please give us some more clues as to which

multi rows P10 LED module

you are using ?