A feature complete driver for the MAX17048 lithium fuel gauge from Maxim.
Dependents: MAX17048_HelloWorld ECGAFE_copy MAX17048_HelloWorld Orion_newPCB_test_LV ... more
Now fully tested!
Diff: MAX17048.h
- Revision:
- 8:65c889800b3a
- Parent:
- 7:bf6972a21c61
- Child:
- 9:2c1d82ecd63c
--- a/MAX17048.h Tue Nov 12 17:48:11 2013 +0000 +++ b/MAX17048.h Tue Nov 12 21:43:55 2013 +0000 @@ -56,7 +56,7 @@ public: /** The default compensation value for the MAX17048 */ - static const int RCOMP0 = 0x97; + static const char RCOMP0; /** Represents the different alert flags for the MAX17048 */ @@ -352,7 +352,7 @@ }; //Member constants - static const int m_ADDR = (0x36 << 1); + static const int m_ADDR; //Member variables I2C m_I2C;