Ghost Mouse / Mbed 2 deprecated ghost_mouse

Dependencies:   mbed

Revision:
5:34c72bf980fa
Parent:
4:1f443e7a0122
Child:
6:4ade0e1a3723
--- a/main.cpp	Fri Mar 31 23:27:52 2017 +0000
+++ b/main.cpp	Fri Mar 31 23:31:00 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
@@ -181,7 +181,7 @@
     
     //click the left button and drag the mouse down 50 units
     //mouseCommand(0x1, 0, -50);
-    keyCommand(0, 4);
+//    keyCommand(0, 4);
 
     
     
@@ -195,6 +195,9 @@
         //print points
         printCamData(onex, oney);  
         
+        //testing infinite print
+        keyOut.putc(0x41);
+        
         
     }
 }