data write/read from EEPROM in pic16f877

flemmard

New Member
Hi,
I'm using pic16f877.I wish to write ten hexadecimal digits into EEPROM and read from it whenver needed ?
Can anyone help me with code in C?

Thanks,
 
flemmard said:
Hi,
I'm using pic16f877.I wish to write ten hexadecimal digits into EEPROM and read from it whenver needed ?
Can anyone help me with code in C?

Thanks,
Most C compilers have built-in functions that allow you to read and write to EEPROM. Which compiler are you going to use?
 
Hi,
Thanks for your reply.I'm using Hi-tech Pic C compiler.I will be thankful if you guide me.

Thanks once again
 
eng1 said:
Most C compilers have built-in functions that allow you to read and write to EEPROM. Which compiler are you going to use?

Hi,
Thanks for your reply.I'm using Hi-tech Pic C compiler.I will be thankful if you guide me.

Thanks once again
 
flemmard said:
Hi,
Thanks for your reply.I'm using Hi-tech Pic C compiler.I will be thankful if you guide me.

Thanks once again
Hi-Tech PICC compiler provides two built-in functions:
unsigned char EEPROM_READ(unsigned char address);
void EEPROM_WRITE(unsigned char address, unsigned char data);
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…