Arduino Microwire EEPROM Reader
Arduino Microwire EEPROM Reader
Arduino Microwire EEPROM Reader
Here is the code to read the 93C56 eeprom (L56R). There are comments if you
want to read it in 8bit or 16bit organization.
void setup(){
pinMode(CLOCK ,OUTPUT);
pinMode(DATA_OUT ,OUTPUT);
pinMode(DATA_IN ,INPUT);
pinMode(CHIP_SEL ,OUTPUT);
digitalWrite(CHIP_SEL ,LOW);
Serial.begin(9600);
}
void loop()
{
char buf[8];
//digitalWrite(CHIP_SEL ,HIGH);
//shiftOut(DATA_OUT,CLOCK,MSBFIRST,EWEN); //sending EWEN instruction
//digitalWrite(CHIP_SEL ,LOW);
delay(10);
low=0;
digitalWrite(CHIP_SEL ,LOW);
Serial.print(buf);
}
while(1);
}