led

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
Peeraya
Date:
Sun Oct 25 06:18:39 2015 +0000
Parent:
1:a3a6e8f878da
Commit message:
new

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Oct 21 05:25:21 2015 +0000
+++ b/main.cpp	Sun Oct 25 06:18:39 2015 +0000
@@ -57,7 +57,7 @@
                             pc.printf("\n");
                             state_menu=0;
                        
-                                    if(data=='a')
+                                    if(data=='a'||data='A')
                                     {
                                       myled0=1;
                                     wait(1);
@@ -91,7 +91,7 @@
                                     wait(1);
                                     myled7=0;  
                                     }
-                                    if(data=='d')
+                                    if(data=='d'||data=='D')
                                     {
                                     myled0 =1;
                                     myled1 =1;