This class provides simplified I2C access to a Microchip 24LCxx Serial EEPROM device: - Rename the class (C2424 -> C24) - Add EraseMemoryArea method - Add DumpMemoryArea method only accessible in DEBUG mode - Add 'const' qualifier in parameters

Fork of 24LCxx_I2C by Yann Garcia

Revision:
2:16ce7dae9019
Parent:
1:bdf87ab4cdb8
Child:
3:5df584fbabfe
--- 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) {