I2C 接続の LCD AQM1602XA-RN-GBW 用のライブラリの使用例. Demo program of library for LCD 1602XA-RN-GBW connected using I2C interface.

Dependencies:   mbed UIT_AQM1602

Revision:
2:6e609a28fa80
Parent:
1:6c838e71e330
Child:
3:fe2f8abf2120
--- a/main.cpp	Tue Jun 09 09:30:52 2015 +0000
+++ b/main.cpp	Mon Jul 06 09:15:33 2015 +0000
@@ -39,6 +39,8 @@
 
 int main()
 {
+    if (lcd_.IsConnected()) printf("\r\nConnected");
+    else                    printf("\r\nDisconnected");
     lcd_.Clear();
     lcd_.WriteString("Hello!");
     WaitButton();   // Waiting, push blue user button