Dependencies:   mbed

Revision:
1:0637595215b4
Parent:
0:ca2662a35eb0
Child:
2:d6d5ca8d6c90
--- a/KXP84.cpp	Mon Jan 24 06:07:01 2011 +0000
+++ b/KXP84.cpp	Tue Jan 25 03:53:54 2011 +0000
@@ -87,7 +87,7 @@
 
     _cs = 0;            /* Select KXP84-2040 */
     _spi.write(0x80);   /* send Command */
-    wait_us(200);       /* Wait 200ms (for sampling) */
+    wait_ms(200);       /* Wait 200ms (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) */