This is the code used on my video series "Hybrid Supercapacitor Car Battery" for my own hardware monitoring system. THe videos can be found on madelectronengineering.com
Dependencies: BurstSPI Fonts INA219 mbed LPC1114_WakeInterruptIn
Fork of SharpMemoryLCD by
Diff: SharpLCD.h
- Revision:
- 2:0c49a8f32f6e
- Parent:
- 1:1bd2b42b305d
--- a/SharpLCD.h Tue Aug 25 21:15:06 2015 +0000 +++ b/SharpLCD.h Tue Dec 26 21:30:09 2017 +0000 @@ -12,9 +12,9 @@ /// Set the display geometry depending on the resolution of the display used /// common types are 96x96, 128x128, 400x240 /** MemoryLCD width in pixels */ -#define DISPLAY_WIDTH (128) +#define DISPLAY_WIDTH (400) /** MemoryLCD height in pixels */ -#define DISPLAY_HEIGHT (128) +#define DISPLAY_HEIGHT (240) /** Maximum length of a printf to the display */ #define MAX_PRINTF_CHARS 40 @@ -224,6 +224,12 @@ * Transfers pixel buffer to the display */ void update(); + + /** + * set pixel buffer to zero but do not blank screen. + */ + void clearspace(); + /** * Clear the display & set pixel buffer to zero. */