summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-10-31 17:16:34 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-10-31 17:16:34 +0100
commit4bbf07511979f3f918e316e80ba36ebac7f2bf9d (patch)
tree2472954694cfc7b76b6a798440cd1fbe1c295c88 /include
parent9e909994e78dae8071a6fc51bb339519a6cded89 (diff)
pervasive aurora mb: add initialization code for flashless updates
Diffstat (limited to 'include')
-rw-r--r--include/driver/pervasive_aurora_mb.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/driver/pervasive_aurora_mb.h b/include/driver/pervasive_aurora_mb.h
index 9d0bc86..558cba1 100644
--- a/include/driver/pervasive_aurora_mb.h
+++ b/include/driver/pervasive_aurora_mb.h
@@ -21,7 +21,17 @@ class PervasiveAuroraMb {
void setup();
void powerOn();
- void initialize(signed char temperature = 20);
+
+ /**
+ * Initializes the display
+ * @param temperature specify ambient temperature, defaults to 20 deg C
+ * @param flashless perform (fast) flashless updates. Note that this
+ * is not officially documented and, as far as I know,
+ * _perminantly_ alters the display's internal look-up tables. It
+ * may damage your display in the long run. Use at your own risk.
+ */
+ void initialize(signed char temperature = 20, bool flashless = false);
+
void sendImage(unsigned char *frame, unsigned int x = 0, unsigned int y = 0, unsigned int w = 0, unsigned int h = 0);
void sendUpdate();
void powerOff();