KXP84-2050だかのアレ
KXP84.h
- Committer:
- misodengaku
- Date:
- 2012-06-20
- Revision:
- 0:af16997a2d22
File content as of revision 0:af16997a2d22:
#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; };