Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 6th September 2007, 01:53 PM   #1
Default data write/read from EEPROM in pic16f877

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 is offline  
Old 6th September 2007, 01:59 PM   #2
Default

Quote:
Originally Posted by flemmard
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?
eng1 is offline  
Old 6th September 2007, 02:01 PM   #3
Default

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 is offline  
Old 6th September 2007, 02:03 PM   #4
Default

Quote:
Originally Posted by eng1
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 is offline  
Old 6th September 2007, 02:07 PM   #5
Default

Quote:
Originally Posted by flemmard
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);
eng1 is offline  
Reply

Tags
data, eeprom, pic, write or read

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
Need some help with a code provided by ATMEL ikalogic Micro Controllers 1 23rd January 2007 03:46 PM
Hardcode a PIC by hand? (or 16F74 + par.port.prog = problem) smilen Micro Controllers 15 21st November 2005 10:23 AM
Writing Data to the EEPROM Electrix Micro Controllers 2 31st August 2005 07:39 AM
An error in pic16f84a, why? Zener_Diode Micro Controllers 6 11th April 2004 03:55 AM
Using Internal Data EEPROM on PIC16F877 lee_man_tbu Micro Controllers 0 4th December 2003 02:47 AM



All times are GMT. The time now is 12:03 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker