#include "matrix.h" // TODO this needs to setup the panel to actually be in the proper geometry RGBmatrixPanel matrixpanel(true); void setup_matrix() { matrixpanel.begin(); // Some defaults matrixpanel.setTextWrap(false); matrixpanel.setFont(&TomThumb); matrixpanel.fillScreen(0xFFFF); matrixpanel.swapBuffers(true); } void loop_matrix() { // I think this might be best left to the lua code? or it'll run between frame draws in there. // matrix.swapBuffers(false); }