Heres the error im receiving.
Aurora:76: error: macro “SMARTMATRIX_ALLOCATE_BUFFERS” requires 7 arguments, but only 6 given
Aurora:76: error: ‘SMARTMATRIX_ALLOCATE_BUFFERS’ does not name a type
In file included from Aurora.ino:118:0:
C:\Users\Manny\AppData\Local\Temp\build2228584398431778125.tmp\IrCodes.h: In function ‘InputCommand readSerialCommand()’:
IrCodes.h:520: error: ‘matrix’ was not declared in this scope
matrix.setBrightness(brightness);
^
In file included from Aurora.ino:166:0:
C:\Users\Manny\AppData\Local\Temp\build2228584398431778125.tmp\StreamingMode.h: In member function ‘void StreamingMode::drawFrameTPM2()’:
StreamingMode.h:52: error: ‘matrix’ was not declared in this scope
int bufferSize = matrix.getScreenHeight() * matrix.getScreenWidth() * 3;
^
C:\Users\Manny\AppData\Local\Temp\build2228584398431778125.tmp\StreamingMode.h: In member function ‘void StreamingMode::drawFrameTPM2net()’:
StreamingMode.h:94: error: ‘matrix’ was not declared in this scope
int bufferSize = matrix.getScreenHeight() * 32 * 3;
^
In file included from Aurora.ino:170:0:
C:\Users\Manny\AppData\Local\Temp\build2228584398431778125.tmp\Menu.h: In member function ‘void Menu::run(MenuItem**, int)’:
Menu.h:116: error: ‘matrix’ was not declared in this scope
matrix.setBrightness(0);
^
Menu.h:120: error: ‘matrix’ was not declared in this scope
matrix.setBrightness(brightness);
^
Aurora.ino: In function ‘void setup()’:
Aurora:242: error: ‘matrix’ was not declared in this scope
Aurora.ino: In function ‘void loadRotationSetting()’:
Aurora:557: error: ‘matrix’ was not declared in this scope
Aurora.ino: In function ‘void loadSettings()’:
Aurora:563: error: ‘matrix’ was not declared in this scope
Aurora.ino: In function ‘void adjustBrightness(int, boolean)’:
Aurora:623: error: ‘matrix’ was not declared in this scope
’matrix’ was not declared in this scope
thanks guys.
update… i ended up copying all the main defines…and const uint8_t kmatrixwidth, height,refreshdepth etc over from the featuredemo of sm3 into aurora. and kpaneltype which was missing and it compiled without errors… some of them were in a different order, if that makes a difference ?