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.cpp
- Revision:
- 17:cee1c66b3133
- Parent:
- 14:3d90211095d4
- Child:
- 19:cc4f5d01f080
--- a/uOLED.cpp Tue Dec 21 00:39:25 2010 +0000 +++ b/uOLED.cpp Tue Dec 21 01:11:18 2010 +0000 @@ -57,9 +57,10 @@ return (_oled.getc() == OLED_ACK); } -bool uOLED::displayControl(char mode) { +bool uOLED::displayControl(char mode, char value) { _oled.putc(0x59); _oled.putc(mode); + _oled.putc(value); return (_oled.getc() == OLED_ACK); }