Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: radarDistanceSensorTool
Fork of N5110 by
Diff: N5110.cpp
- Revision:
- 7:505f281a04fa
- Parent:
- 6:adb79338d40f
diff -r adb79338d40f -r 505f281a04fa N5110.cpp
--- a/N5110.cpp Mon Jan 27 18:41:45 2014 +0000
+++ b/N5110.cpp Mon May 11 16:34:51 2015 +0000
@@ -60,8 +60,7 @@
}
// function to power up the LCD and backlight
-void N5110::turnOn()
-{
+void N5110::turnOn() {
// set brightness of LED - 0.0 to 1.0 - default is 50%
setBrightness(0.5);
pwr->write(1); // apply power
