Fork of Silabs MemoryLCD library

Dependents:   demoUI whrmDemoUI Host_Software_MAX32664GWEB_HR_EXTENDED Host_Software_MAX32664GWEC_SpO2_HR-_EXTE ... more

C++ library for Sharp Microelectronics 1.28 inch LCD TFT, LS013B7DH03, SPI bus. Forked from Silicon Labs MemoryLCD display driver.

Revision:
12:ca0bcb4777e9
Parent:
3:c34c3e4e33fc
--- a/LS013B7DH03.h	Wed Aug 12 14:06:07 2015 +0000
+++ b/LS013B7DH03.h	Wed Jan 02 13:20:35 2019 +0300
@@ -34,8 +34,9 @@
 
 #include "platform.h"
 #include <mbed.h>
-#include "LCDSettings.h"
-#include "BufferedDisplay.h"
+#include "../screen/BufferedDisplay.h"
+#include "../screen/LCDSettings.h"
+//#include "Peripherals.h"
 
 typedef void (*cbptr_t)(void);
 
@@ -60,7 +61,7 @@
 
 public:
 
-	LS013B7DH03(SPI * spi, DigitalOut * CS, DigitalOut * ExtCom, const char *name=NULL);
+	LS013B7DH03(SPI * spi, DigitalOut * CS,  const char *name=NULL);
 
 	/**
 	 * Call this function to push all changes to the display
@@ -77,18 +78,21 @@
 	 */
 	int showDemo();
 
+
+
 	/**
 	 * Function to get internal refresh counter
 	 */
 	uint32_t getRefreshTicks();
 
+
 protected:
 	mbed::SPI *_spi;
-	mbed::DigitalOut *_EXTCOM;
+	//mbed::DigitalOut *_EXTCOM;
 	mbed::DigitalOut *_CS;
 
-	mbed::LowPowerTicker _displayToggler;
-	mbed::LowPowerTimeout _csTimeout;
+	mbed::Ticker _displayToggler;
+	mbed::Timeout _csTimeout;
 
 	event_callback_t _internalEventCallback;
 	volatile uint32_t _refreshCount;