Hello,
Thats it... I am done. Two days of hard work, and nothing... Look to my code. and please tell me why its not taking libraries? Or is there other problem that makes my life harder? Please help me. This code is about to control led matrix.
Graphics.cpp: In function 'void draw(const byte*, int, int)':
Graphics.cpp:49:40: error: variable-sized object 'Pixel' may not be initialized
int Pixel[ni][nj]=(tstr[j]=='1');
^
Graphics.cpp: In function 'void drawInvert(const byte*, int, int)':
Graphics.cpp:71:40: error: variable-sized object 'Pixel' may not be initialized
int Pixel[ni][nj]=(tstr[j]=='0');
^
Graphics.cpp: In function 'void marqueeInvert(String, int)':
Graphics.cpp:110:17: error: 'clearScreen' was not declared in this scope
clearScreen();
^
Graphics.cpp:118:17: error: 'shiftPixels' was not declared in this scope
shiftPixels();
^
Graphics.cpp: In function 'void playAnimation(int, byte (*)[8], int)':
Graphics.cpp:132:19: error: 'shiftPixels' was not declared in this scope
shiftPixels();
^
Graphics.cpp: In function 'void playAnimationInvert(int, const byte (*)[8], int)':
Graphics.cpp:146:19: error: 'shiftPixels' was not declared in this scope
shiftPixels();
^
Graphics.cpp: In function 'void marqueeAnimation(const byte (*)[8], int)':
Graphics.cpp:160:17: error: 'clearScreen' was not declared in this scope
clearScreen();
^
Graphics.cpp:168:17: error: 'shiftPixels' was not declared in this scope
shiftPixels();
^
Graphics.cpp: In function 'void playAnimationFlash(int, const byte (*)[8], int, int, int, int, int)':
Graphics.cpp:178:19: error: 'Level' was not declared in this scope
int TempLevel=Level;
^
Graphics.cpp:180:15: error: 'setLevel' was not declared in this scope
setLevel(0);
^
Graphics.cpp:185:19: error: 'shiftPixels' was not declared in this scope
shiftPixels();
^
Graphics.cpp: In function 'void playAnimationFlashInvert(int, const byte (*)[8], int, int, int, int, int)':
Graphics.cpp:207:19: error: 'Level' was not declared in this scope
int TempLevel=Level;
^
Graphics.cpp:209:15: error: 'setLevel' was not declared in this scope
setLevel(0);
^
Graphics.cpp:214:19: error: 'shiftPixels' was not declared in this scope
shiftPixels();
^
Graphics.cpp: In function 'void flashText(String, int, int, int, int, int)':
Graphics.cpp:234:17: error: 'Level' was not declared in this scope
int TempLevel=Level;
^
Graphics.cpp:235:13: error: 'setLevel' was not declared in this scope
setLevel(0);
^
Graphics.cpp:239:17: error: 'shiftPixels' was not declared in this scope
shiftPixels();
^
Error compiling.
So how to create .h library? I though that cpp and h is the same one. sorry for my dumbness, but look to my username an you will find out.