Fork of 24LCxx_I2C. Works for Renesas EEPROMs. Fixes problems with PageWrites over page boundaries.
Fork of 24LCxx_I2C by
Diff: 24LCxx_I2C.cpp
- Revision:
- 2:16ce7dae9019
- Parent:
- 1:bdf87ab4cdb8
- Child:
- 3:fc3eb4d2b07e
--- a/24LCxx_I2C.cpp Fri Jan 25 09:24:05 2013 +0000
+++ b/24LCxx_I2C.cpp Thu Jul 18 05:34:34 2013 +0000
@@ -25,7 +25,7 @@
unsigned char C24LCXX_I2C::I2CModuleRefCounter = 0;
- C24LCXX_I2C::C24LCXX_I2C(const PinName p_sda, const PinName p_scl, const unsigned char p_address, const PinName p_wp, const int p_frequency) : _internalId("") {
+ C24LCXX_I2C::C24LCXX_I2C(const PinName p_sda, const PinName p_scl, const unsigned char p_address, const PinName p_wp, const unsigned int p_frequency) : _internalId("") {
DEBUG_ENTER("C24LCXX_I2C")
if (C24LCXX_I2C::I2CModuleRefCounter != 0) {
