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:
- 2:46cf70365584
- Parent:
- 1:8e9c00c59101
- Child:
- 3:b03009537d66
diff -r 8e9c00c59101 -r 46cf70365584 MjHover.h --- a/MjHover.h Sat Feb 28 07:45:07 2015 +0000 +++ b/MjHover.h Thu Apr 02 13:02:52 2015 +0000 @@ -3,12 +3,14 @@ #include "mbed.h" +using namespace std; + namespace matsujirushi { class MjHover { public: - MjHover(I2C* i2c, uint8_t address, DigitalInOut* ts, DigitalOut* reset_n); + MjHover(I2C* i2c, uint8_t address, DigitalInOut* ts, DigitalInOut* reset_n); void begin(); void setRelease(); bool getStatus(); @@ -19,10 +21,11 @@ I2C *i2c; uint8_t address; DigitalInOut* ts; // I/O Transfer Status - DigitalOut* reset_n; // O Master Clear# + DigitalInOut* reset_n; // O Master Clear# }; } // namespace matsujirushi #endif +