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.

Files at this revision

API Documentation at this revision

Comitter:
gmehmet
Date:
Wed Jan 02 13:20:35 2019 +0300
Parent:
11:0f8ae10b308d
Commit message:
adapt memorylcd code to use it with maxim boards

Changed in this revision

BufferedDisplay.cpp Show annotated file Show diff for this revision Revisions of this file
BufferedDisplay.h Show annotated file Show diff for this revision Revisions of this file
GraphicsDisplay.cpp Show annotated file Show diff for this revision Revisions of this file
GraphicsDisplay.h Show annotated file Show diff for this revision Revisions of this file
LS013B7DH03.cpp Show annotated file Show diff for this revision Revisions of this file
LS013B7DH03.h Show annotated file Show diff for this revision Revisions of this file
TextDisplay.cpp Show annotated file Show diff for this revision Revisions of this file
TextDisplay.h Show annotated file Show diff for this revision Revisions of this file
mbed_logo.c Show diff for this revision Revisions of this file
mbed_logo.h Show diff for this revision Revisions of this file
--- a/BufferedDisplay.cpp	Wed Aug 12 14:06:07 2015 +0000
+++ b/BufferedDisplay.cpp	Wed Jan 02 13:20:35 2019 +0300
@@ -29,7 +29,7 @@
  *
  ******************************************************************************/
 
-#include "BufferedDisplay.h"
+#include "../screen/BufferedDisplay.h"
 
 #define SWAP8(a) ((((a) & 0x80) >> 7) | (((a) & 0x40) >> 5) | (((a) & 0x20) >> 3) | (((a) & 0x10) >> 1) | (((a) & 0x08) << 1) | (((a) & 0x04) << 3) | (((a) & 0x02) << 5) | (((a) & 0x01) << 7))
 
--- a/BufferedDisplay.h	Wed Aug 12 14:06:07 2015 +0000
+++ b/BufferedDisplay.h	Wed Jan 02 13:20:35 2019 +0300
@@ -32,8 +32,8 @@
 #ifndef SILABS_BUFFEREDDISPLAY_H
 #define SILABS_BUFFEREDDISPLAY_H
 
-#include "GraphicsDisplay.h"
-#include "LCDSettings.h"
+#include "../screen/GraphicsDisplay.h"
+#include "../screen/LCDSettings.h"
 
 namespace silabs {
 /** Framebuffered version of GraphicsDisplay
--- a/GraphicsDisplay.cpp	Wed Aug 12 14:06:07 2015 +0000
+++ b/GraphicsDisplay.cpp	Wed Jan 02 13:20:35 2019 +0300
@@ -3,7 +3,7 @@
  * Released under the MIT License: http://mbed.org/license/mit
  */
  
-#include "GraphicsDisplay.h"
+#include "../screen/GraphicsDisplay.h"
 
 #define incx() x++, dxt += d2xt, t += dxt
 #define incy() y--, dyt += d2yt, t += dyt
--- a/GraphicsDisplay.h	Wed Aug 12 14:06:07 2015 +0000
+++ b/GraphicsDisplay.h	Wed Jan 02 13:20:35 2019 +0300
@@ -14,7 +14,7 @@
 #ifndef MBED_GRAPHICSDISPLAY_H
 #define MBED_GRAPHICSDISPLAY_H
 
-#include "TextDisplay.h"
+#include "../screen/TextDisplay.h"
 
 class GraphicsDisplay : public TextDisplay {
 
--- a/LS013B7DH03.cpp	Wed Aug 12 14:06:07 2015 +0000
+++ b/LS013B7DH03.cpp	Wed Jan 02 13:20:35 2019 +0300
@@ -29,9 +29,11 @@
  *
  ******************************************************************************/
 
+#include "../screen/LS013B7DH03.h"
+
 #include <mbed.h>
-#include "LS013B7DH03.h"
 #include "SPI.h"
+//#include "Peripherals.h"
 
 /* LS013B7DH03 SPI commands */
 #define LS013B7DH03_CMD_UPDATE     (0x01)
@@ -42,21 +44,30 @@
 
 namespace silabs {
 
-LS013B7DH03::LS013B7DH03(mbed::SPI * spi, DigitalOut * CS, DigitalOut * ExtCom, const char *name) : BufferedDisplay(name) {
+
+LS013B7DH03::LS013B7DH03(mbed::SPI * spi, DigitalOut * CS, const char *name) : BufferedDisplay( name )  {
 	//Save pointer to ChipSelect pin
 	_CS = CS;
 	_CS->write(0);
+	DigitalOut DISP(P6_6);
 
-	//Save pointer to ExtCom pin
-	_EXTCOM = ExtCom;
-	_EXTCOM->write(0);
+//Save pointer to ExtCom pin
+///	_EXTCOM = ExtCom;
+///	_EXTCOM->write(0);
+
+	DISP  = 0;
+	wait_ms(1);
+	DISP = 1;
 
 	//Save pointer to spi peripheral
 	_spi = spi;
+	//_spi->frequency(600000);
+	_spi->format( 8, 0 );
+
 	_internalEventCallback.attach(this, &LS013B7DH03::_cbHandler);
 
 	//Initialize
-	_spi->set_dma_usage((DMAUsage)DMA_USAGE_NEVER);
+	//_spi->set_dma_usage((DMAUsage)DMA_USAGE_NEVER);
 	_refreshCount = 0;
 	_lcdPolarity = 0;
 	_state = IDLE;
@@ -71,8 +82,8 @@
  * Call this function at 55 ~ 65 Hz to keep the display up-to-date.
  */
 void LS013B7DH03::toggle() {
-	_EXTCOM->write(!_EXTCOM->read());
-	_refreshCount++;
+//	_EXTCOM->write(!_EXTCOM->read());
+//	_refreshCount++;
 }
 
 /**
@@ -121,9 +132,9 @@
  */
 int LS013B7DH03::showDemo() {
 	for(uint32_t i = 0; i < DISPLAY_BUFFER_ELEMENTS; i+=2) {
-		_pixelBuffer[i] = 0x00FFF000;
+		_pixelBuffer[i] = 0x00555345;
 	}
-	memset((void*)_dirtyRows, 0xFF, sizeof(_dirtyRows));
+	memset((void*)_dirtyRows, 0x33, sizeof(_dirtyRows));
 
 	return LS013B7DH03_OK;
 }
@@ -168,12 +179,14 @@
 				_cmd[1] = (uint8_t)SWAP8(_rowCount + 1);
 				memcpy((void*)&(_cmd[2]), (const void*)&(_pixelBuffer[_rowCount*(DISPLAY_WIDTH/DISPLAY_BUFFER_TYPE_SIZE)]), DISPLAY_WIDTH / DISPLAY_BUFFER_TYPE_SIZE * sizeof(DISPLAY_BUFFER_TYPE));
 
-				if(_spi->transfer((uint8_t*)_cmd, (2 + (DISPLAY_WIDTH / DISPLAY_BUFFER_TYPE_SIZE * sizeof(DISPLAY_BUFFER_TYPE))) , (uint8_t*)NULL, 0, _internalEventCallback, SPI_EVENT_COMPLETE) != 0) {
+				if(_spi->write((const char*)_cmd, (2 + (DISPLAY_WIDTH / DISPLAY_BUFFER_TYPE_SIZE * sizeof(DISPLAY_BUFFER_TYPE))) , (char*)NULL, 0/*, _internalEventCallback, SPI_EVENT_COMPLETE*/) != (2 + (DISPLAY_WIDTH / DISPLAY_BUFFER_TYPE_SIZE * sizeof(DISPLAY_BUFFER_TYPE)))) {
 					// SPI is busy, with another transaction. This means the data to the LCD has been corrupted, so fail here.
 					_state = DONE;
-
+					//printf("Failed at _cbHandler\n");
 					// Make sure the handler is called again
 					_csTimeout.attach(this, &LS013B7DH03::_cbHandlerTimeout, 0.1f);
+				}else{	//sc...
+					_csTimeout.attach(this, &LS013B7DH03::_cbHandlerTimeout, 0.001f);
 				}
 
 				// Transaction is in progress, so update row state
@@ -189,24 +202,28 @@
 		// Done sending!
 		_cmd[1] = 0xFF;
 		_state = TRANSFERS_DONE;
-		if(_spi->transfer((uint8_t*)_cmd, 2, (uint8_t*)NULL, 0, _internalEventCallback, SPI_EVENT_COMPLETE) != 0) {
+		if(_spi->write((const char*)_cmd, 2, (char*)NULL, 0/*, _internalEventCallback, SPI_EVENT_COMPLETE*/) != 2) {
 			// SPI is busy, with another transaction. This means the data to the LCD has been corrupted, so fail here.
 			_state = DONE;
 
 			// Make sure the handler is called again
 			_csTimeout.attach(this, &LS013B7DH03::_cbHandlerTimeout, 0.1f);
+		}else{	//sc...
+			_csTimeout.attach(this, &LS013B7DH03::_cbHandlerTimeout, 0.001f);
 		}
 		return;
 	}
 	else if (_state == WAIT_CLEAR)
 	{
 		_state = TRANSFERS_DONE;
-		if(_spi->transfer((uint8_t*)_cmd, 2, (uint8_t*)NULL, 0, _internalEventCallback, SPI_EVENT_COMPLETE) != 0) {
+		if(_spi->write((const char*)_cmd, 2, (char*)NULL, 0/*, _internalEventCallback, SPI_EVENT_COMPLETE*/) != 2) {
 			// SPI is busy, with another transaction. This means the data to the LCD has been corrupted, so fail here.
 			_state = DONE;
 
 			// Make sure the handler is called again
 			_csTimeout.attach(this, &LS013B7DH03::_cbHandlerTimeout, 0.1f);
+		}else{	//sc...
+			_csTimeout.attach(this, &LS013B7DH03::_cbHandlerTimeout, 0.001f);
 		}
 		return;
 	}
--- 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;
--- a/TextDisplay.cpp	Wed Aug 12 14:06:07 2015 +0000
+++ b/TextDisplay.cpp	Wed Jan 02 13:20:35 2019 +0300
@@ -3,7 +3,8 @@
  * Released under the MIT License: http://mbed.org/license/mit
  */
  
-#include "TextDisplay.h"
+#include "../screen/TextDisplay.h"
+
 #include <cstdarg>
 
 TextDisplay::TextDisplay(const char *name){
--- a/TextDisplay.h	Wed Aug 12 14:06:07 2015 +0000
+++ b/TextDisplay.h	Wed Jan 02 13:20:35 2019 +0300
@@ -16,8 +16,8 @@
 #ifndef MBED_TEXTDISPLAY_H
 #define MBED_TEXTDISPLAY_H
 
+#include "../screen/LCDSettings.h"
 #include "mbed.h"
-#include "LCDSettings.h"
 
 class TextDisplay {
 public:
--- a/mbed_logo.c	Wed Aug 12 14:06:07 2015 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,132 +0,0 @@
-#include "mbed_logo.h"
-
-const unsigned char mbed_enabled_logo[] = {
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x80, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x80, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x80, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x80, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x80, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x80, 0x00,
-	    0x00, 0x08, 0x1f, 0x00, 0xf8, 0x01, 0xe3, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x80, 0x00,
-	    0x00, 0x0c, 0x7f, 0x81, 0xfc, 0x01, 0xef, 0xe0, 0x00, 0x07, 0xf0, 0x00, 0x07, 0xfb, 0x80, 0x00,
-	    0x00, 0x0e, 0xff, 0xe7, 0xfe, 0x01, 0xff, 0xf8, 0x00, 0x1f, 0xfc, 0x00, 0x1f, 0xff, 0x80, 0x00,
-	    0x00, 0x0f, 0xc0, 0xfe, 0x1f, 0x01, 0xf0, 0x3c, 0x00, 0x3c, 0x0c, 0x00, 0x1f, 0xff, 0x80, 0x00,
-	    0x00, 0x0f, 0x80, 0xf8, 0x0f, 0x01, 0xe0, 0x0c, 0x00, 0x30, 0x0f, 0x00, 0x78, 0x07, 0x80, 0x00,
-	    0x00, 0x0f, 0x00, 0x70, 0x0f, 0x81, 0xe0, 0x07, 0x00, 0x70, 0x07, 0x80, 0x70, 0x03, 0x80, 0x00,
-	    0x00, 0x0e, 0x00, 0x70, 0x07, 0x81, 0xe0, 0x03, 0x80, 0xe0, 0x03, 0x80, 0xf0, 0x03, 0x80, 0x00,
-	    0x00, 0x0e, 0x00, 0x70, 0x07, 0x81, 0xe0, 0x03, 0xc0, 0xc0, 0x01, 0xc1, 0xf0, 0x03, 0x80, 0x00,
-	    0x00, 0x0e, 0x00, 0x70, 0x03, 0x81, 0xe0, 0x01, 0xc1, 0xc0, 0x01, 0xc1, 0xe0, 0x03, 0x80, 0x00,
-	    0x00, 0x0e, 0x00, 0x70, 0x03, 0x81, 0xe0, 0x01, 0xe1, 0xc0, 0x01, 0xc1, 0xc0, 0x03, 0x80, 0x00,
-	    0x00, 0x0e, 0x00, 0x70, 0x03, 0x81, 0xe0, 0x01, 0xe1, 0xff, 0xff, 0xc3, 0xc0, 0x03, 0x80, 0x00,
-	    0x00, 0x0e, 0x00, 0x70, 0x03, 0x81, 0xe0, 0x01, 0xe1, 0xff, 0xff, 0x83, 0xc0, 0x03, 0x80, 0x00,
-	    0x00, 0x0e, 0x00, 0x70, 0x03, 0x81, 0xe0, 0x01, 0xc1, 0x80, 0x00, 0x03, 0xc0, 0x03, 0x80, 0x00,
-	    0x00, 0x0e, 0x00, 0x70, 0x03, 0x81, 0xe0, 0x01, 0xc1, 0xc0, 0x00, 0x01, 0xc0, 0x03, 0x80, 0x00,
-	    0x00, 0x0e, 0x00, 0x70, 0x03, 0x81, 0xe0, 0x01, 0x80, 0xc0, 0x00, 0x01, 0xe0, 0x03, 0x80, 0x00,
-	    0x00, 0x0e, 0x00, 0x70, 0x03, 0x81, 0xe0, 0x03, 0x80, 0xc0, 0x00, 0x01, 0xe0, 0x03, 0x80, 0x00,
-	    0x00, 0x0e, 0x00, 0x70, 0x03, 0x81, 0xe0, 0x03, 0x00, 0x60, 0x00, 0x00, 0xf0, 0x03, 0x80, 0x00,
-	    0x00, 0x0e, 0x00, 0x70, 0x03, 0x81, 0xe0, 0x07, 0x00, 0x70, 0x00, 0x00, 0xf0, 0x03, 0x80, 0x00,
-	    0x00, 0x0e, 0x00, 0x70, 0x03, 0x81, 0xe0, 0xfe, 0x00, 0x38, 0x00, 0x00, 0xf8, 0x03, 0x80, 0x00,
-	    0x00, 0x0e, 0x00, 0x70, 0x03, 0x81, 0xff, 0xfe, 0x00, 0x1f, 0xfe, 0x00, 0x7f, 0xff, 0x80, 0x00,
-	    0x00, 0x0e, 0x00, 0x70, 0x03, 0x81, 0xff, 0xf8, 0x00, 0x07, 0xfe, 0x00, 0x3f, 0xff, 0x80, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xc0, 0x00, 0x00, 0x00, 0x0f, 0xff, 0xff,
-	    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe0, 0x00, 0x00, 0x00, 0x1f, 0xff, 0xff,
-	    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf0, 0x00, 0x00, 0x00, 0x3f, 0xff, 0xff,
-	    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf8, 0x00, 0x00, 0x00, 0x7f, 0xff, 0xff,
-	    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0x00, 0x00, 0x00, 0xfc, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7e, 0x00, 0x00, 0x01, 0xf8, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0x00, 0x00, 0x03, 0xf0, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 0x80, 0x00, 0x07, 0xe0, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xc0, 0x00, 0x0f, 0xc0, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0xe0, 0x00, 0x1f, 0x80, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xf0, 0x00, 0x3f, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xf8, 0x00, 0x7e, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0x00, 0xfc, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7e, 0x01, 0xf8, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0x03, 0xf0, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 0x87, 0xe0, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0xcf, 0xc0, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0xff, 0x80, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0xff, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xfe, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x78, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00,
-	    0x00, 0x0f, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00,
-	    0x00, 0x06, 0x06, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00,
-	    0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00,
-	    0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00,
-	    0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0xc0, 0x00,
-	    0x00, 0x06, 0x00, 0x04, 0x3c, 0x01, 0xf0, 0x0c, 0x78, 0x03, 0x00, 0x38, 0x00, 0x7e, 0xc0, 0x00,
-	    0x00, 0x06, 0x00, 0x06, 0xfe, 0x03, 0xfc, 0x0d, 0x8c, 0x03, 0x00, 0xfe, 0x00, 0xff, 0xc0, 0x00,
-	    0x00, 0x06, 0x00, 0x07, 0x81, 0x00, 0x06, 0x0d, 0x06, 0x03, 0x01, 0x01, 0x01, 0x80, 0xc0, 0x00,
-	    0x00, 0x07, 0xf8, 0x06, 0x01, 0x00, 0x02, 0x0e, 0x03, 0x03, 0x02, 0x00, 0x83, 0x00, 0xc0, 0x00,
-	    0x00, 0x06, 0x00, 0x06, 0x01, 0x00, 0x02, 0x0c, 0x01, 0x83, 0x06, 0x00, 0x83, 0x00, 0xc0, 0x00,
-	    0x00, 0x06, 0x00, 0x06, 0x01, 0x00, 0x3e, 0x0c, 0x01, 0x83, 0x06, 0x00, 0x82, 0x00, 0xc0, 0x00,
-	    0x00, 0x06, 0x00, 0x06, 0x01, 0x00, 0xfe, 0x0c, 0x01, 0x83, 0x07, 0xff, 0x86, 0x00, 0xc0, 0x00,
-	    0x00, 0x06, 0x00, 0x06, 0x01, 0x03, 0x82, 0x0c, 0x01, 0x83, 0x06, 0x00, 0x06, 0x00, 0xc0, 0x00,
-	    0x00, 0x06, 0x00, 0x06, 0x01, 0x04, 0x02, 0x0c, 0x01, 0x83, 0x06, 0x00, 0x06, 0x00, 0xc0, 0x00,
-	    0x00, 0x06, 0x00, 0x06, 0x01, 0x04, 0x02, 0x0c, 0x01, 0x83, 0x06, 0x00, 0x06, 0x00, 0xc0, 0x00,
-	    0x00, 0x06, 0x00, 0x06, 0x01, 0x04, 0x02, 0x0c, 0x03, 0x03, 0x02, 0x00, 0x02, 0x00, 0xc0, 0x00,
-	    0x00, 0x06, 0x00, 0x06, 0x01, 0x06, 0x06, 0x0c, 0x07, 0x03, 0x03, 0x00, 0x03, 0x80, 0xc0, 0x00,
-	    0x00, 0x06, 0x06, 0x06, 0x01, 0x02, 0x0f, 0x0c, 0x04, 0x03, 0x01, 0xff, 0x01, 0xff, 0xc0, 0x00,
-	    0x00, 0x0f, 0xfe, 0x06, 0x01, 0x03, 0xf9, 0x8f, 0xf8, 0x03, 0x80, 0xfe, 0x00, 0xff, 0xc0, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-	    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
-	};
--- a/mbed_logo.h	Wed Aug 12 14:06:07 2015 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-/** 128*128 1bpp version of the mbed-enabled logo */
-extern const unsigned char mbed_enabled_logo[];