View I2C_EEPROM_WRITE.ino
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Wire.h> | |
#define DEV_ADDR 0x57 | |
#define START_ADDR 0x045C | |
#define LENGTH 4 | |
void setup() | |
{ | |
Serial.begin(57600); | |
Wire.begin(); |
View I2C_EEPROM_DUMP.ino
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Wire.h> | |
#define DEV_ADDR 0x57 | |
unsigned int addr = 0x00; | |
unsigned int count = 0; | |
void setup() | |
{ | |
Serial.begin(57600); |