KXP84-2050だかのアレ

Revision:
0:af16997a2d22
diff -r 000000000000 -r af16997a2d22 KXP84.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/KXP84.h	Wed Jun 20 22:38:48 2012 +0000
@@ -0,0 +1,12 @@
+#include "mbed.h"
+
+class KXP84 {
+public:
+    KXP84(PinName sda = p9, PinName scl = p10) : i2c(sda, scl){
+    }
+    
+    void init();
+    void get(int *x, int *y, int *z);
+private:
+    I2C i2c;
+};
\ No newline at end of file