Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Deckard

  • Rank
  1. Hello, I'm experimenting with the EEPROM of a PIC16F88. At the minute I'm trying to write an arbitary value to an address in the EEPROM. However I'm seeing the " error: left operand must be l-value" error message. I have a vague idea that this is something to do with trying to assign a variable to a constant but i'm stumped on as how to get around it. The code I have is: void eeprom_write() { EEADR=01111011b; //write address to EEADR EEDATA=01110001b; //write 8-bit data value to EEDATA eecon1.7=0; //access data memory eecon1.2=1; //all
  • Create New...