Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: Adafruit_32x8matrix
Fork of Adafruit_LEDBackpack_16x8_App by
Diff: Adafruit_32x8matrix.h
- Revision:
- 6:8d2eb79a4baf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Adafruit_32x8matrix.h Wed Jun 28 19:27:51 2017 +0000
@@ -0,0 +1,32 @@
+#ifndef _ADAFRUIT_32X8MATRIX_H_
+#define _ADAFRUIT_32X8MATRIX_H_
+
+#include "Adafruit_LEDBackpack.h"
+#include "Adafruit_GFX.h"
+
+//notes
+//220uA no leds on
+//default brightness - rises to 20mA at short peak then back down when scrolling hello
+//brightness = 1, rises to ~4mA at short peak then back down when scrolling hello
+
+
+class Adafruit_32x8matrix {
+public:
+ Adafruit_32x8matrix(I2C *i2c, uint8_t i2c_addr, uint8_t i2c_addr2, uint8_t rotation, uint8_t rotation2, uint8_t brightness);
+
+ void scrollText(char * , uint8_t , uint8_t );
+ void showText(char * , uint8_t , uint8_t );
+
+private:
+ I2C _i2c;
+ Adafruit_16x8matrix _matrix;
+ Adafruit_16x8matrix _matrix2;
+ uint8_t _i2c_addr;
+ uint8_t _i2c_addr2;
+ uint8_t _rotation;
+ uint8_t _rotation2;
+ uint8_t _brightness;
+
+};
+
+#endif
\ No newline at end of file
