Dependencies:   mbed

Revision:
2:d6d5ca8d6c90
Parent:
1:0637595215b4
Child:
3:3760a4a0b1e9
--- a/KXP84.cpp	Tue Jan 25 03:53:54 2011 +0000
+++ b/KXP84.cpp	Tue Jan 25 03:59:40 2011 +0000
@@ -87,7 +87,7 @@
 
     _cs = 0;            /* Select KXP84-2040 */
     _spi.write(0x80);   /* send Command */
-    wait_ms(200);       /* Wait 200ms (for sampling) */
+    wait_us(200);       /* Wait 200us (for sampling) */
 
     iX0 = _spi.write(0x00); iX1 = _spi.write(0x00);  /* recive Status (with auto increment) */
     iY0 = _spi.write(0x00); iY1 = _spi.write(0x00);  /* recive Status (with auto increment) */