Library for Adafruit SHARP Memory Displays. This is a port of the original Arduino library available at: https://github.com/adafruit/Adafruit_SHARP_Memory_Display .

Dependencies:   Adafruit-GFX

Dependents:   Adafruit_SHARP_Memory_Display_demo Analog_Clock

Library for Adafruit Sharp Memory Displays. A demo is available here: https://developer.mbed.org/users/marcpl/code/Adafruit_SHARP_Memory_Display_demo/

Files at this revision

API Documentation at this revision

Comitter:
marcpl
Date:
Sun Aug 30 10:39:38 2015 +0000
Parent:
2:37dbf68106ac
Commit message:
Make the screen buffer static.

Changed in this revision

Adafruit_SharpMem.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Adafruit_SharpMem.cpp	Tue Jun 23 17:05:46 2015 +0000
+++ b/Adafruit_SharpMem.cpp	Sun Aug 30 10:39:38 2015 +0000
@@ -44,7 +44,7 @@
 #define SHARPMEM_BIT_CLEAR      (0x20)
 #define TOGGLE_VCOM             do { _sharpmem_vcom = _sharpmem_vcom ? 0x00 : SHARPMEM_BIT_VCOM; } while(0);
 
-uint8_t sharpmem_buffer[(SHARPMEM_LCDWIDTH * SHARPMEM_LCDHEIGHT) / 8];
+static uint8_t sharpmem_buffer[(SHARPMEM_LCDWIDTH * SHARPMEM_LCDHEIGHT) / 8];
 
 /* ************* */
 /* CONSTRUCTORS  */