Hover!( Microchip MGC3130 ) library. Now, it is development version. http://www.hoverlabs.co/#hover https://www.switch-science.com/catalog/2124/
Diff: MjHover.h
- Revision:
- 1:8e9c00c59101
- Parent:
- 0:051e1e753af5
- Child:
- 2:46cf70365584
diff -r 051e1e753af5 -r 8e9c00c59101 MjHover.h --- a/MjHover.h Sun Feb 22 23:23:59 2015 +0000 +++ b/MjHover.h Sat Feb 28 07:45:07 2015 +0000 @@ -8,11 +8,18 @@ class MjHover { public: - MjHover(I2C* i2c, uint8_t address); + 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# };