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.
Diff: C12832.h
- Revision:
- 16:7de323fa46fe
- Parent:
- 15:67dfa5550b73
--- a/C12832.h Thu Jan 30 17:16:04 2014 +0000
+++ b/C12832.h Wed Feb 05 14:25:16 2014 +0000
@@ -50,14 +50,14 @@
char* data;
};
-class C12832_LCD : public GraphicsDisplay
+class C12832 : public GraphicsDisplay
{
public:
- /** Create a C12832_LCD object connected to SPI1
+ /** Create a C12832 object connected to SPI1
*
*/
- C12832_LCD(PinName mosi, PinName sck, PinName reset, PinName a0, PinName ncs, const char* name = "LCD");
+ C12832(PinName mosi, PinName sck, PinName reset, PinName a0, PinName ncs, const char* name = "LCD");
/** Get the width of the screen in pixel
@@ -140,12 +140,6 @@
*
*/
- //void set_orientation(unsigned int o);
-
- /** set the contrast of the screen
- *
- * @param o contrast 0-63
- */
void set_contrast(unsigned int o);
@@ -155,7 +149,6 @@
unsigned int get_contrast(void);
-
/** invert the screen
*
* @param o = 0 normal, 1 invert