zeroskj1988
Member level 2
i am using pic16f873a eeprom to store value. in ccs compiler i write program like this
ROM 0x2100={35,27}
hc=read_eeprom(0);
lc=read_eeprom(1);
to read eeprom
write_eeprom(0,hc);
write_eeprom(1,lc);
to write eeprom
when i complete one cycle of this operation, iam not able to read the lc value.but no problem eith reading of hc
can any body point out what is the problem with this program.thanks in advance
ROM 0x2100={35,27}
hc=read_eeprom(0);
lc=read_eeprom(1);
to read eeprom
write_eeprom(0,hc);
write_eeprom(1,lc);
to write eeprom
when i complete one cycle of this operation, iam not able to read the lc value.but no problem eith reading of hc
can any body point out what is the problem with this program.thanks in advance
Last edited: