An example of using polling PS/2 using the modified mbed PS/2 library

Dependencies:   Servo mbed

Revision:
8:41b35bda9d48
Parent:
0:94cffad90b69
Child:
9:2c85d7f99a14
--- a/mylib/PS2/PS2MS_INIT.cpp	Wed Mar 05 18:53:20 2014 +0000
+++ b/mylib/PS2/PS2MS_INIT.cpp	Thu Mar 06 10:38:43 2014 +0000
@@ -24,7 +24,9 @@
      * 0xE6: Set scaling.
      * 0xF4: Enable device.
      */
-    char txdat[17] = "\xFF\xFF\xFF\xF3\xC8\xF3\x64\xF3\x50\xF2\xE8\x03\xE6\xF3\x28\xF4";
+    //char txdat[17] = "\xFF\xFF\xFF\xF3\xC8\xF3\x64\xF3\x50\xF2\xE8\x03\xE6\xF3\x28\xF4";
+    //char txdat[11] = "\xFF\xFF\xFF\xF2\xE8\x03\xE6\xF3\xC8\xF4";
+    char txdat[11] = "\xFF\xFF\xFF\xF2\xE8\x03\xE6\xF3\x28\xF4";
     const int n = sizeof(txdat);
     int txerrcnt = 0;
     int rxerrcnt = 0;