A feature complete driver for the ISL1208 real time clock from Intersil.
Dependents: ISL1208_HelloWorld
Diff: ISL1208.cpp
- Revision:
- 5:d67ac8351c76
- Parent:
- 4:42dc07f9ffb3
- Child:
- 6:c0635401a37f
--- a/ISL1208.cpp Tue Nov 12 17:15:20 2013 +0000 +++ b/ISL1208.cpp Tue Nov 12 21:42:44 2013 +0000 @@ -16,6 +16,8 @@ #include "ISL1208.h" +const int ISL1208::m_ADDR = (0x6F << 1); + ISL1208::ISL1208(PinName sda, PinName scl) : m_I2C(sda, scl) { //Set the I2C bus frequency to 400kHz