Forked LEDMatrix and added horizontal scrolling
Fork of LEDMatrix by
Diff: LEDMatrix.h
- Revision:
- 1:79cf2e115449
- Parent:
- 0:13728deac7a7
- Child:
- 2:cd2da920cf98
--- a/LEDMatrix.h Fri Nov 08 06:45:52 2013 +0000
+++ b/LEDMatrix.h Mon Jan 11 21:05:53 2016 +0000
@@ -76,6 +76,10 @@
void on();
void off();
+
+ void scrollLeft();
+ void scrollReset();
+ void scrollToPos(int pos);
private:
DigitalOut a, b, c, d, oe, r1, stb, clk;
@@ -84,6 +88,7 @@
uint16_t height;
uint8_t mask;
uint8_t state;
+ int _horizontalScrollPos;
};
#endif
