Hi,
PaulRB:
But how do you know that if you have not managed to show anything yet? Tracing the PCB tracks? Have you found the data sheet for the 5X7 modules yet?
Sorry I should have mentioned it. I did a bit of a research and found this guy here that has almost the same Led sign. I compared his drawings with the PCB I have in hand and they seem to be of the same design. Same Drivers, same shift Registers.
Checked that all column pins of the LTP-2157 led matrix (cathodes) are connected to the driver IC's which in turn are connected to the shift registers. Also, all row pins of the led matrix (Anodes) are connected to the TIP transistors.
That far, I have gone... I did start drawing the schematic but its still in bits and pieces.
PaulRB:
But using 5 bits of a byte wastes 3 bits, whereas using 7 bits of a byte only wastes 1 bit... However, even on an ATmega328, neither level of waste is a concern. It has 32KB flash.
Well, I might be overreacting, here... Although its not the flash I'm worried about, its the static RAM. OK, the char definitions will be in PROGMEM, but still even without them, 2K is scary...
I do not know if something like that would work, but instead of creating a character as an array of bytes like:
unsigned char characters[][7] = { { 0x4,0xA,0x11,0x1F,0x11,0x11,0x11 }, ...} //A
to create is so:
unsigned char LetterA[5] = { 0x01, 0x15, 0x1F, 0xC6, 0x31 } //A
in the above the wasted bits are filled with bits from the previous byte row.
Will it work like that?
INTP mentioned about 5 bytes but I'm not sure if he meant it this way or he meant shifting out rows instead of columns...
any ideas?