Buarg / arudino-maxmatrix-library

Automatically exported from code.google.com/p/arudino-maxmatrix-library
0 stars 0 forks source link

Bug in Example_Display_Scrolling_Text #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
There's a bug in Example_Display_Scrolling_Text:

  m.writeSprite(32, 0, buffer);
  m.setColumn(32 + buffer[0], 0);

in method void printCharWithShift(char c, int shift_speed)
This works for up to 4 MAX7219's only because of writing to X coordinate of 32.

It should be:
  m.writeSprite(maxInUse * 8, 0, buffer);
  m.setColumn(maxInUse * 8 + buffer[0], 0);
to work for more than 4 MAX7219's.

Original issue reported on code.google.com by 83ty...@gmail.com on 16 Nov 2014 at 2:15

GoogleCodeExporter commented 8 years ago
Thankx a lot buddy .I was stuck for a week over this. 

Original comment by mahendra...@gmail.com on 26 Mar 2015 at 9:06