Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Umm... Flash doesn't need to emulate EEPROM because it IS EEPROM.prabs1976 said:I'm looking for a design document on implementing Emulated EEPROM , any links ,tutorials or sample code would be of great help.
prabs1976 said:I'm looking for a design document on implementing Emulated EEPROM , any links ,tutorials or sample code would be of great help.
// put some config for your pic
//...
// set this procedure as i2c interrupt
void i2c_interupt ()
{
BYTE inc, state;
state = i2c_isr_state();
if(state < 0x80){ // master sending data
inc = i2c_read();
if(state == 1) address = inc;
if(state == 2) buffer[address] = inc;
}
if(state == 0x80){ //master requesting data
i2c_write(buffer[address]);
}
}
void main(){
//enable i2c interrupt
while(1) {}
}
prabs1976 said:I'm looking for a design document on implementing Emulated EEPROM , any links ,tutorials or sample code would be of great help.