Akinori Hashimoto / SO1602A

Dependents:   NEW_LineTraceHub NEW_LineTraceHub_2 ColorSensorTest

Files at this revision

API Documentation at this revision

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;