**[[ad_ul_data_logger|Uno-Leonardo Data Logger]]** ====== EEPROM memory ====== ===== Description ===== AT24Cxxx group of I2C EEPROM with possibility to set address and write protect mode. ==== Used Pins ==== === Arduino Leonardo Compatibility=== Digital Pin: **2, 3**\\ Bus: **TWI**\\ Power Pin: **GND, +5V**\\ {{:ad_ul_data_loger_1_0_0:leo_pin_twi.png?300|}} === Arduino Uno Compatibility=== Analogue Pin: **4,5**\\ Bus: **TWI**\\ Power Pin: **GND, +5V**\\ {{:ad_ul_data_loger_1_0_0:uno_pin_twi.png?300|}} ==== Config options ==== Configuration has one switch group (A0, A1, A2) and one switch WP with two state 0 (short cut between middle pin and pin signed 0) and 1 (short cut between middle pin and pin signed 1).\\ * A0 - address bit 0 (default set to 0) * A1 - address bit 1 (default set to 0) * A2 - address bit 2 (default set to 0) * WP - write protect where 1 mean protected, and 0 mean unprotected (default set to 0) \\ {{:ad_ul_data_loger_1_0_0:uno_leo_mega_duo_data_loger_v1_0_0_eeprom.png|}} ==== Code example ==== Arduino library [[arduino_lib_dpi2ceeprom|DpI2CEEPROM library]]. PLease use example Simple . Arduino library {{:dl_1_0_0:i2ceeprom.zip|i2ceeprom}} also available from URL [[http://arduino.cc/playground/Main/LibraryForI2CEEPROM|http://arduino.cc/playground/Main/LibraryForI2CEEPROM]]\\ \\ Please use example I2C_demo.pde\\