|
|
Is there any way to adjust the brightness/contrast of the LCD module from code? |
|
|
Absolutely. It's in the API http://svn.buglabs.net/svn/!source/7916/bug/trunk/com.buglabs.bug.module.lcd/com/buglabs/bug/module/lcd/pub/ILCDModuleControl.java (sorry, phpBB hates the exclamation point, so no clicky links) in com.buglabs.bug.module.lcd.pub.ILCDModuleControl, there is a method setBacklight(int intensity), which takes a value between 0 and 3 to control the backlight intensity. The code would look something like this (assuming you've gone through the BUG App wizard and chosen com.buglabs.bug.module.lcd.pub.ILCDModuleControl as a service in your app): public void doStart() {
|