Re: PeggyDraw 2 Error

Home Evil Mad Scientist Forums LED Matrix Kits PeggyDraw 2 Error Re: PeggyDraw 2 Error

#21395
SuMo_D
Participant

Sorry… have to split the post it says its too long…. Pt 1:

/* Simple example code for Peggy 2.0, using the Peggy2 library, version 0.2.
 
 Designed to be automatically generated!
 
 Copyright (c) 2008 Windell H Oskay.  All right reserved.
 
 This example is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2.1 of the License, or (at your option) any later version.
 
 This software is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Lesser General Public License for more details.
 
 You should have received a copy of the GNU Lesser General Public
 License along with this software; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */

#include <Peggy2.h>
#include <math.h>
#include <stdlib.h> 
#include <avr/pgmspace.h> 

Peggy2 frame1;     // Make a frame buffer object, called frame1 
 


const PROGMEM prog_uint32_t data1[]  = {
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