うおーるぼっとLEDのワークショップ用

Dependencies:   mbed

Revision:
2:20b6647c8570
Parent:
0:9fcc79b3f00e
--- a/main.cpp	Fri Feb 03 13:21:41 2017 +0000
+++ b/main.cpp	Fri Feb 03 13:39:44 2017 +0000
@@ -4,6 +4,11 @@
 wallbotLED wb;
 
 int main() {
+    
+    while(wb.GetSw1() == 0);
+    
+    wait(1.0);
+    
     while(1) {
         int s1 = wb.GetFloorSensor1();
         int s2 = wb.GetFloorSensor2();