Example program with the C12832 display and MMA7660 I2C accelerometer of the mbed application shield.
Dependencies: C12832 MMA7660 mbed
Revision 2:9535cae29d9b, committed 2014-04-01
- Comitter:
- screamer
- Date:
- Tue Apr 01 16:32:39 2014 +0000
- Parent:
- 1:bad592d14bea
- Child:
- 3:f85ca437ddf8
- Commit message:
- White spaces
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Apr 01 16:30:14 2014 +0000
+++ b/main.cpp Tue Apr 01 16:32:39 2014 +0000
@@ -11,7 +11,6 @@
lcd.cls();
// print the first line and wait 3 sec
-
lcd.locate(0,3);
if (!MMA.testConnection()) {
@@ -22,7 +21,6 @@
wait(3);
// print the counter prefix; the number will be printed in the while loop
-
int i=1;
while(i++) {
lcd.locate(0,15);