Ghost Mouse / Mbed 2 deprecated ghost_mouse

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
jennabarton
Date:
Fri Mar 31 23:32:30 2017 +0000
Parent:
5:34c72bf980fa
Child:
7:6b27977d1800
Commit message:
print only if certain IR reading

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Mar 31 23:31:00 2017 +0000
+++ b/main.cpp	Fri Mar 31 23:32:30 2017 +0000
@@ -156,9 +156,9 @@
         //y coordinate
         pc.printf(" %d\t", y);  
         
-        //if(x < 800 ){
-//            keyOut.putc(0x41);
-//        } 
+        if(x < 800 ){
+            keyOut.putc(0x41);
+        } 
     }
     
     //new line and delay
@@ -196,7 +196,7 @@
         printCamData(onex, oney);  
         
         //testing infinite print
-        keyOut.putc(0x41);
+        //keyOut.putc(0x41);
         
         
     }