Hello,
i am using a pic16f914 and am setting values into eeprom thru view/eeprom then i set the values i want in the addresses needed. Upon powering up my circuit the values seem to be other than what i stored before compilation, however once i set the values in my project when PIC is running they are stored correctly and it works fine. I am storing the values of 00 from adress 00 to 0f. What could be causing the eeprom to store data other than the zeros i set there.
Thanks in advance!
Pedro
Code:
#FUSES NOWDT //No Watch Dog Timer
#FUSES INTRC //Internal RC Osc
#FUSES PUT //Power Up Timer
#FUSES NOPROTECT //Code not protected from reading
#FUSES MCLR //Master Clear pin enabled
#FUSES NOCPD //No EE protection
#FUSES BROWNOUT //Brownout reset
#FUSES NOIESO //Internal External Switch Over mode disabled
#FUSES NOFCMEN //Fail-safe clock monitor disabled
#FUSES NODEBUG //No Debug mode for ICD
#use delay(clock=4000000)
#int_timer0
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum