m3piのLEDを使って、回転しながらHelloを表示するプログラムです。

Dependencies:   mbed m3pi

Files at this revision

API Documentation at this revision

Comitter:
yueee_yt
Date:
Mon May 21 09:35:12 2012 +0000
Parent:
0:ea6671cf543c
Commit message:

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r ea6671cf543c -r d887e41ac0be main.cpp
--- a/main.cpp	Mon May 21 08:07:52 2012 +0000
+++ b/main.cpp	Mon May 21 09:35:12 2012 +0000
@@ -24,7 +24,7 @@
     m3pi.locate(0,1);
     m3pi.printf("M3PI LED");
     wait (2.0);
-    m3pi.left(-1);    // Turn left at full speed
+    m3pi.left(1);    // Turn left at full speed
     wait (0.1);        // wait half a second
     for (j=0; j<50; j++) {
         for (i=0; i<31; i++) {