PS/2

Dependents:   Synth Lab3Translator PS2_Keyboard CLI ... more

Revision:
2:a57bbbec16b1
Parent:
1:823c2798e398
--- a/PS2KB_INIT.cpp	Wed Sep 29 14:11:44 2010 +0000
+++ b/PS2KB_INIT.cpp	Wed Sep 29 22:15:03 2010 +0000
@@ -16,6 +16,13 @@
     clk.write(1);
     dat.write(1);
     
+    /*
+     * 0xFF: Reset.
+     * 0xED: Set/Reset status indicators.
+     * 0xF2: Read ID.
+     * 0xF3: Set typematic rate/delay.
+     * 0xF4: Enable.
+     */
     char txdat[12] = "\xFF\xED\x07\xF2\xED\x00\xF3\x20\xF3\x00\xF4";
     const int n = sizeof(txdat);
     int txerrcnt = 0;