can somebody help me, the code is
const char colorspin[] PROGMEM ={
1111111111111111111111111111111111111111,
1111111111111111111111111111111111111111,
1111111111111111111111111111111111111111,
1111111111111111111111111111111111111111,
1111111111111111111111111111111111111111,
1111111111011111111111111111100111111111,
1111111100011111111111111111100011111111,
1111111000001111111111111111000001111111,
1111110000000001111111111000000000111111,
1111100000000000000000000000000000011111,
1111100000000000000000000000000000011111,
1111111000000000000000000000000001111111,
1111111000000000000000000000000001111111,
1111111100000000000000000000000011111111,
1111111100000000000000000000000011111111,
1111111100000000001111000000000011111111,
1111111110000000011000100000000111111111,
1111111110000000100000010000000111111111,
1111111110000001100000001000000111111111,
1111111110000001000000001000000111111111,
1111111110000001000000001000000111111111,
1111111110000001000000001000000111111111,
1111111110000000100000010000000111111111,
1111111110000000010000110000000111111111,
1111111100000000001111000000000011111111,
1111111100000000000000000000000011111111,
1111111100000000000000000000000011111111,
1111111100000000000000000000000001111111,
1111111000000000000000000000000001111111,
1111100000000000000000000000000000011111,
1111100000000000000000000000000000011111,
1111110000000000111111110000000000111111,
1111111000000111111111111111000001111111,
1111111100011111111111111111100011111111,
1111111110011111111111111111100111111111,
1111111111111111111111111111111111111111,
1111111111111111111111111111111111111111,
1111111111111111111111111111111111111111,
1111111111111111111111111111111111111111,
1111111111111111111111111111111111111111 } ; // "Colorspin" etc are strings to store - change to suit.
void setup() {
void loop() {
for(int i=0;i<1024;i++){
int horiz = i%32;//find the H position
int vert = round(i/32);//find the V position
if(Colorspin) {
matrix.drawPixel(horiz, vert, matrix.Color333(7, 0, 0));//if this is a "Colorspin" light up a pixel, otherwise do nothing
}
}
delay(500);
another one for the many
I Need help with displaying the gif's on a Adafruit 32x32 led matrix, would this work?