Heavily documented control library for the uOLED-96-G1 (SGC) by 4D Systems. Will likely work with any of the 4D Systems serial controlled screens. <<info>> All examples in the documentation have been tested to the best of my current abilities, but there are a few functions that I simply do not use. I have created a Lighthouse page for this library. You may submit bug reports or feature requests to [[http://mbed-uoled.lighthouseapp.com|this page]]. If you really do not wish to sign up for a Lighthouse account you may also post any bugs or requests [[/users/Nakor/notebook/uoled-bug-reports/|here]]. <</info>>

Dependents:   DS18B20 DS18B20GSM Astromed Astromed_build20121123

Files at this revision

API Documentation at this revision

Comitter:
Nakor
Date:
Mon Dec 20 18:19:58 2010 +0000
Parent:
0:4f009971ac11
Child:
2:559b81f2bb1e
Commit message:
Library rewrite.

Changed in this revision

uOLED.h Show annotated file Show diff for this revision Revisions of this file
--- a/uOLED.h	Mon Dec 20 18:11:30 2010 +0000
+++ b/uOLED.h	Mon Dec 20 18:19:58 2010 +0000
@@ -38,34 +38,103 @@
 class uOLED {
 public:
 
+    /** Dunno
+    * Dunno
+    */
     uOLED(PinName serialTX, PinName serialRX, PinName reset);
-
+    
+    /** Dunno2
+    * Dunno
+    */
     short getRGB(char red, char green, char blue);
 
+    /** Dunno3
+    * Dunno
+    */
     bool addBitmappedCharacter(char character, char data[8]);
+    /** Dunno4
+    * Dunno
+    */
     bool blockCopyPaste(char sourceX, char sourceY, char destinationX, char destinationY, char width, char height);
+    /** Dunno5
+    * Dunno
+    */
     bool displayControl(char mode);
+    /** Dunno6
+    * Dunno
+    */
     bool displayUserBitmappedCharacter(char character, char x, char y, short color);
+    /** Dunno7
+    * Dunno
+    */
     bool drawCircle(char x, char y, char radius, short color);
+    /** Dunno8
+    * Dunno
+    */
     bool drawCharacter(char character, char column, char row, short color);
+    /** Dunno9
+    * Dunno
+    */
     bool drawImage(char x, char y, char width, char height, char colorMode, char *pixels);
+    /** Dunno10
+    * Dunno
+    */
     bool drawLine(char x1, char y1, char x2, char y2, short color);
+    /** Dunno11
+    * Dunno
+    */
     bool drawPolygon(char vertices, char *x, char *y, short color);
+    /** Dunno12
+    * Dunno
+    */
     bool drawRectangle(char x, char y, char width, char height, short color);
+    /** Dunno13
+    * Dunno
+    */
     bool drawText(char column, char row, char font, short color, char *text);
+    /** Dunno14
+    * Dunno
+    */
     bool drawTriangle(char x1, char y1, char x2, char y2, char x3, char y3, short color);
+    /** Dunno15
+    * Dunno
+    */
     bool eraseScreen();
     /** Initialize the screen.  This must be completed before any other communication with the device.
     * Timing allows for at least 500ms delay for initialization.
     */
     bool init();
+    /** Dunno16
+    * Dunno
+    */
     bool penSize(char size);
+    /** Dunno17
+    * Dunno
+    */
     bool putPixel(char x, char y, short color);
+    /** Dunno18
+    * Dunno
+    */
     short readPixel(char x, char y);
+    /** Dunno19
+    * Dunno
+    */
     bool setBackgroundColor(short color);
+    /** Dunno20
+    * Dunno
+    */
     bool setFontSize(char fontType);
+    /** Dunno21
+    * Dunno
+    */
     bool textButton(char state, char x, char y, short buttonColor, char font, short textColor, char textWidth, char textHeight, char *text);
+    /** Dunno22
+    * Dunno
+    */
     bool textMode(char mode);
+    /** Dunno23
+    * Dunno
+    */
     bool versionInfo(bool onScreen, char *info);