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: NEW_LineTraceHub NEW_LineTraceHub_2 ColorSensorTest
Revision 2:45791c1064f6, committed 2015-10-02
- Comitter:
- AkinoriHashimoto
- Date:
- Fri Oct 02 06:43:18 2015 +0000
- Parent:
- 1:eef15a16fe7a
- Child:
- 3:eaaedd09fa6b
- Commit message:
- debug
Changed in this revision
| SO1602A.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SO1602A.cpp Wed Sep 09 00:04:00 2015 +0000
+++ b/SO1602A.cpp Fri Oct 02 06:43:18 2015 +0000
@@ -1,7 +1,7 @@
#include "SO1602A.h"
SO1602A::SO1602A (PinName sda, PinName scl, char address)
- : i2c(sda, scl), addr(address)
+ : i2c(sda, scl), addr(address)
{
init();
}
@@ -87,7 +87,7 @@
return;
}
-void setDispFlag(bool disp, bool cursor, bool blink)
+void SO1602A::setDispFlag(bool disp, bool cursor, bool blink)
{
// set On/Off. b3=1, b2:Disp, b1:Cursor, b0:blink.
char tmp= 0x08;