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
Diff: uOLED.h
- Revision:
- 5:93ea03e2a688
- Parent:
- 4:51f274633e70
- Child:
- 6:080d52539972
--- a/uOLED.h Mon Dec 20 18:33:17 2010 +0000 +++ b/uOLED.h Mon Dec 20 18:48:10 2010 +0000 @@ -5,6 +5,9 @@ * This is a modified library originally obtained from * Erik van Wijk's library code at: * http://mbed.org/users/evwijk/libraries/microOLED/li4nzn + * + * This library (uOLED) by Aaron Goselin. + * 2010 */ #ifndef _MBED_UOLED_ @@ -30,7 +33,7 @@ * * uOLED SGC(p9, p10, p11); * - int main() + * int main() * { * SGC.drawText(0, 0, 0, FF, "This is text"); * } @@ -108,9 +111,18 @@ * @param returns something. */ bool drawText(char column, char row, char font, short color, char *text); - /** Dunno14 - * Dunno - * @param returns something. + /** Draw text to the screen. + * + * @param column X coordinate for text placement. + * @param row Y coordinate for text placement. + * @param font Which font to use (Uses 0, 1, or 2). More fonts can be added. + * @param color Font colour to use. + * @param *text Character array (string) to be displayed. + * + * Example: + * @code + * SGC.drawText(0, 0, 0, FF, "This is text"); + * @endcode */ bool drawTriangle(char x1, char y1, char x2, char y2, char x3, char y3, short color); /** Dunno15