Home › Evil Mad Scientist Forums › LED Matrix Kits › PeggyDraw 2 Error › Re: PeggyDraw 2 Error
July 16, 2013 at 8:44 pm
#21396
SuMo_D
Participant
0,
0,
0,
0,
0,
0,
0,
0,
250,
1104,
1106,
1106,
1118,
1490,
82,
1106,
17618,
16383,
532992,
0,
64,
0,
4096,
0,
128
0,
0,
1536,
0,
0,
0,
0,
0,
250,
1104,
1106,
1106,
1118,
1490,
82,
1106,
17618,
16383,
532992,
0,
64,
0,
4096,
0,
128
0,
0,
1536,
0,
0,
0,
0,
0,
250,
1104,
1106,
1106,
1118,
1490,
82,
1106,
17618,
16383,
532992,
0,
64,
0,
4096,
0,
128
};
void setup() // run once, when the sketch starts
{
frame1.HardwareInit(); // Call this once to init the hardware.
// (Only needed once, even if you’ve got lots of frames.)
unsigned short y = 0;
while (y < 25) {
frame1.WriteRow( y, pgm_read_dword(&data1[y]));
y++;
}
} // End void setup()
void loop() // run over and over again
{
frame1.RefreshAll(10); //Draw frame buffer 10 times
}