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.
Revision 0:b8a9d27b0a92, committed 2016-09-20
- Comitter:
- nissin_2411
- Date:
- Tue Sep 20 07:13:05 2016 +0000
- Commit message:
- aqm1602
Changed in this revision
diff -r 000000000000 -r b8a9d27b0a92 AQM1602.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/AQM1602.lib Tue Sep 20 07:13:05 2016 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/AkinoriHashimoto/code/AQM1602/#43f874a2b8e9
diff -r 000000000000 -r b8a9d27b0a92 main.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Tue Sep 20 07:13:05 2016 +0000
@@ -0,0 +1,18 @@
+#include "mbed.h"
+#include "AQM1602.h"
+
+I2C i2c(I2C_SDA, I2C_SCL);//sda,scl
+AQM1602 lcd(i2c);
+
+int main()
+{
+ lcd.init();
+ int iter= 0;
+ while(true) {
+ lcd.printf("iter: %5.5d.\r\n", iter);
+ wait(1.0f);
+ if(iter%10 == 0) // 10s
+ lcd.clear();
+ iter++;
+ }
+}
\ No newline at end of file
diff -r 000000000000 -r b8a9d27b0a92 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Tue Sep 20 07:13:05 2016 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/abea610beb85 \ No newline at end of file