Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of RGB_OLED_SSD1331 by
Diff: include/SSD1331.h
- Revision:
- 11:162aa3e801df
- Parent:
- 10:ef7440718431
- Child:
- 13:8dd215952d76
diff -r ef7440718431 -r 162aa3e801df include/SSD1331.h
--- a/include/SSD1331.h Tue Nov 17 21:20:37 2015 +0000
+++ b/include/SSD1331.h Wed Nov 18 09:28:05 2015 +0000
@@ -63,7 +63,7 @@
#include "DigitalOut.h"
#include "PinNames.h"
-#include "SGL.h"
+#include "SGL.cpp" // Because of the template class we have to include this cpp
#include "Stream.h"
@@ -188,7 +188,7 @@
* }
* @endcode
*/
-class SSD1331 : public mbed::Stream, public virtual SGL
+class SSD1331 : public mbed::Stream, public virtual SGL<uint8_t>
{
public:
/** Create a SPI master connected to the specified pins
