send string on dmd display using serially in arduino uno

I'm trying to send 255 bytes character using serial port and displayed on dmd p10 module.
i have connect 25 p10 module. but not working.
if only select 13 p10 module working.

my code is

#include <DMD.h>
#include <SPI.h>
#include <TimerOne.h>
#include "SystemFont5x7.h"
#include "Arial_black_16.h"
#include <String.h>
#define DISPLAYS_ACROSS 25
#define DISPLAYS_DOWN 1
DMD dmd(DISPLAYS_ACROSS, DISPLAYS_DOWN);

char serIn [255];

void ScanDMD()
{
dmd.scanDisplayBySPI();
}

void setup()
{
Serial.begin(9600);

Timer1.initialize( 1000 );
Timer1.attachInterrupt( ScanDMD );
dmd.clearScreen( true );

}

void loop()
{

if(Serial.available()) {
unsigned int chars_in = 0;
// void serialFlush(){
while (Serial.available()>0 && chars_in<254){
serIn[chars_in] = Serial.read();
Serial.write( byte(serIn[chars_in]));
chars_in++;
}

serIn[chars_in+1] = '\0';

}

//dmd.clearScreen( true );
dmd.selectFont(Arial_Black_16);
dmd.selectFont(SystemFont5x7);

dmd.drawString(0, 0, serIn, 255, GRAPHICS_NORMAL );

dmd.drawString(0, 8, serIn+126, 255, GRAPHICS_NORMAL );

delay(200);

}

please reply & help to solve this problem.

please reply & help to solve this problem.

You forgot to tell us which Arduino you are using.
You forgot to remove the useless crap code you commented out.
You forgot to tell us what happens when you connect 25 displays.
You forgot to post a link to the display library.

So, it seems unlikely that you'll get help.

What DOES seem likely is that you are using more memory than you have.

lectrotek:
I'm trying to send 255 bytes character using serial port and displayed on dmd p10 module.
i have connect 25 p10 module. but not working.
if only select 13 p10 module working.

I can't make sense of that.

Are you having a problem receiving data or is it that you know how to interface with one module but not with the other.

And we have no idea what modules you are talking about.

...R

Rather than start a new thread (now deleted) on the topic, why not stick with this one?

AWOL:
Rather than start a new thread (now deleted) on the topic, why not stick with this one?

Because that requires answering questions. Apparently some of them were too hard. Or he/she is waiting for his/her translator to be available again.