PIC16F877A internal EEPROM Tutorial
PIC16F877A internal EEPROM Tutorial This post provides the internal EEPROM reading and writing code for PIC16F877A microcontroller. As we know , PIC16F877A microcontroller has 256 bytes of built in EEPROM data space with an address range of 0x00 to 0xFF. This code is written in C language using MPLAB X IDE with XC8 compiler. It is assumed that you know how to blink an LED with PIC16F877A microcontroller. If you don't then please read this page first, before proceeding with this article. Circuit: Figure1: PIC16F877A internal EEPROM Tutorial Code The code for the main function is shown below. Figure 2: Pic16F877A Internal EEPROM code Downloads EEPROM code for PIC16F877A was compiled in MPLAB X IDE with XC8 compiler and simulation was made in Proteus v7.10. To download code and Proteus simulation Click here