From 4bbf07511979f3f918e316e80ba36ebac7f2bf9d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 31 Oct 2021 17:16:34 +0100 Subject: pervasive aurora mb: add initialization code for flashless updates --- include/driver/pervasive_aurora_mb.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'include') 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(); -- cgit v1.2.3