Hover!( Microchip MGC3130 ) library. Now, it is development version. http://www.hoverlabs.co/#hover https://www.switch-science.com/catalog/2124/
MjHover.h
- Committer:
- matsujirushi
- Date:
- 2015-02-28
- Revision:
- 1:8e9c00c59101
- Parent:
- 0:051e1e753af5
- Child:
- 2:46cf70365584
File content as of revision 1:8e9c00c59101:
#ifndef MJ_HOVER_H #define MJ_HOVER_H #include "mbed.h" namespace matsujirushi { class MjHover { public: MjHover(I2C* i2c, uint8_t address, DigitalInOut* ts, DigitalOut* reset_n); void begin(); void setRelease(); bool getStatus(); uint8_t getEvent(); static const char* getEventString(uint8_t eventByte); private: I2C *i2c; uint8_t address; DigitalInOut* ts; // I/O Transfer Status DigitalOut* reset_n; // O Master Clear# }; } // namespace matsujirushi #endif