led matrix 32 x 16 with arduino mega

Hello!

I succesfuly build my first 32 x 16 rgb led matrix and it works perfectly with adafruits library. Now the problem is i never ever programmed something...

I try to learn and allready know how do display texts or circles or rectangles but just because i copy and pasted it. I dont really know what the code behind all that means.

My question is, is there aa easy way to display bitmaps or text on it? I read something that it can draw XBitMap Files but i cant find a proper tutorial for it.

So if someone can maybe explain me this "Draw XBitMap Files" thing it would be really great!

It is a very old system:-

the X Window System used X BitMap (XBM), a plain text binary image format, for storing cursor and icon bitmaps used in the X GUI.[2] The XBM format was replaced by XPM for X11 in 1989.[3]

From:-

There are two ways of drawing things onto a matrix:-

  1. By a program algorithm. That is setting each LED from some code. The code generates a sequences of addresses and sets the LEDs at these addresses.

  2. By a pre programmed array. This is a block of memory that has had the zeros and ones already set by some other program and you just transfer this memory into the memory being used to refresh the matrix. In this case it is normal to have some other program, perhaps with a graphical interface that will generate these blocks of memory. The X BitMap is / was an attempt to standardize this process to allow exchange of data and thus patterns, in that case for icons and cursor shapes.

I try to learn and allready know how do display texts or circles or rectangles but just because i copy and pasted it. I dont really know what the code behind all that means.

The trick is to take what you copied and paste and try and make it do something different. Look at the code, try and read it line by line and try and make it do something slightly different. Only be experimenting with it yourself are you going to learn how to program.

Hey thanks i found a solution myself and made a step by step tutorial for others if someone wants to display
bitmaps.

http://forum.arduino.cc/index.php?topic=346356.0