デジタルポート反転制御

Dependencies:   mbed

Revision:
1:d95c4085cf00
Parent:
0:88cb63e043c1
Child:
2:ea1827f0aee8
--- a/main.cpp	Mon Aug 24 07:42:12 2015 +0000
+++ b/main.cpp	Fri Aug 28 16:15:04 2015 +0000
@@ -3,7 +3,7 @@
 DigitalOut port7(D7);
 int main() {
     while(1) {
-        port7 = !port7; //D7 port 
-        wait(0.2); // 200 ms
+        port7 = !port7; //D7 portを反転させる
+        wait(0.2); // 0.2秒待つ
     }
-}
+}
\ No newline at end of file