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:
- 23:dd9a280c8be5
- Parent:
- 22:66401b612b1b
- Child:
- 24:22c2d08f111d
diff -r 66401b612b1b -r dd9a280c8be5 uOLED.h --- a/uOLED.h Sun Dec 26 19:25:23 2010 +0000 +++ b/uOLED.h Sun Dec 26 19:41:25 2010 +0000 @@ -285,14 +285,39 @@ */ bool textButton(char state, char x, char y, short red, short green, short blue, char font, short textRed, short textGreen, short textBlue, char textWidth, char textHeight, char *text); - /** Dunno22 - * Dunno - * @param returns something. + /** Set text mode (transparent or opaque). + * + * Opaque text has a rectangle drawn behind it (blocking out what is under it) and transparent text does not. + * + * @param mode Set text to transparent (0x00) or opaque (0x01). */ bool textMode(char mode); - /** Dunno23 - * Dunno - * @param returns something. + + /** Retrieve current version info of the device. + * + * Response: + * + * device_type Indicates device type. + * - 0x00 = micro-OLED + * - 0x01 = micro-LCD + * - 0x02 = micro-VGA + * hardware_rev Indicates device hardware version. + * firmware_rev Indicates device firmware version. + * horizontal_res Indicates the horizontal resolution of the display. + * - 0x22 = 220 pixels + * - 0x28 = 128 pixels + * - 0x32 = 320 pixels + * - 0x60 = 160 pixels + * - 0x64 = 64 pixels + * - 0x76 = 176 pixels + * - 0x96 = 96 pixels + * vertical_res Indicates the vertical resolution of the display. + * - See horizontal_res (identical). + * + * @param onScreen Set output option. + * - 0x00 = Output to serial port only. + * - 0x01 = Output to serial port and screen. + * @param *info Character array to store results. */ bool versionInfo(bool onScreen, char *info);