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

Revision:
7:c2fa784eb477
Parent:
0:4f009971ac11
Child:
9:9e7c57b4b279
--- a/uOLED.cpp	Mon Dec 20 18:49:40 2010 +0000
+++ b/uOLED.cpp	Mon Dec 20 19:47:17 2010 +0000
@@ -230,11 +230,16 @@
     return returnValue;
 }
 
-bool uOLED::setBackgroundColor(short color) {
+bool uOLED::setBackgroundColor(short colorA, short colorB) {
     _oled.putc(0x42);
 
+    /*
     _oled.putc(color >> 8);
     _oled.putc(color & 0xFF);
+    */
+    
+    _oled.putc(colorA);
+    _oled.putc(colorB);
 
     return (_oled.getc() == OLED_ACK);
 }