#include <stdint.h>
// use hardware SPI
-#define USE_SPI 1
+#define USE_SPI 0
class LEDMatrix {
public:
*/
void scan();
+ void swap();
+
+ uint8_t *offscreen_buffer();
+
void reverse();
uint8_t isReversed();
uint16_t height;
uint8_t mask;
uint8_t state;
+ uint8_t buffer;
};
#endif