Please help

Good evening has all

I work with an arduino Uno and two matrix has led thus 16X8 and the librairy LedControl.h with two MAX7219

How to post(show) a text on both matrix so that the text is readable(legible) on both matrix as an electronic bulletin board

Beforehand thank you for your help(assistant)

this text was translated on-line automatically

Peter

Here is One way: make a larger array that will hold your message, perhaps 300 bytes long.

Define letters that are 8 bits high and say 6 bits wide:
A:
0 0 1 1 0 0
0 1 0 0 1 0
1 0 0 0 0 1
1 0 0 0 0 1
1 1 1 1 1 1
1 0 0 0 0 1
1 0 0 0 0 1
1 0 0 0 0 1

3 4 8 8 4 3 hex equivalent going vertically
F 8 8 8 4 F

store in memory as
byte fontArray[] = {
0x3F, 0x48, 0x88, 0x88, 0x48, 0x3F, // letter A
etc for other letters
};

For the message, copy the font bytes into the larger 300 byte array
Then transfer 16 columns of the large array to the MAX7219 registers,
every 200mS move the starting point for the 16 columns over 1 spot
1-16
2-17
3-18
4-19
etc.
Don't forget a space between words - don't want this:
hithisismymessageisntitcool

and some punctiation marks too:
hi! this is my message. isn't it cool?

Once that works, you can add fancy options:

  • Store the font array in PROGMEM to save on SRAM space
  • Store the large array in EEPROM so your program can change it, and retain it after a reset or power loss
  • Store only the number representing the letter in EEPROM (such 0x01, 0x02, 0x03, 0x04 for the letters A,B,C,D - 1 byte instead of 6!
  • don't have a large array, only have 3-4 letters worth, just enough to hold the 2 being displayed and the next 2, with the data being pulled from EEPROM and translated from the font stored in PROGMEM
  • provide a way to accept new data via serial port and write it to EEPROM
  • provide a way to change the message scroll speed

Lots of options exist.

Good evening and thank you for answering has my message

My code the letter "A"

byte A [6] = {B01111111, B10001000, B10001000, B10001000, B01111111, B00000000};

And then matrix 1 lc.setRow matrix 1 (0, tre+1, A [1]);
And then matrix 2 lc.setRow matrix 2 (1, tre+1, A [1]);
But with several caracteres the display(posting) on both matrix is not fluid caratesres passes of the matrix 1 towards the matrix 2 has tour(tower,ballot) of role I would like that both matrices train(form) only the only one with 16X8 led beforehand

this text was translated on-line automatically
thank you

Jean Pierre,

I think that language is a bit of a barrier here. Why don't you try the French section of the forum at

http://arduino.cc/forum/index.php/board,33.0.html

Peter.

Yes, this is not translating well.

Thank you

I go to see(visit) with them