miso dengaku / KXP84
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers KXP84.h Source File

KXP84.h

00001 #include "mbed.h"
00002 
00003 class KXP84 {
00004 public:
00005     KXP84(PinName sda = p9, PinName scl = p10) : i2c(sda, scl){
00006     }
00007     
00008     void init();
00009     void get(int *x, int *y, int *z);
00010 private:
00011     I2C i2c;
00012 };