Jump to content

TWSource

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About TWSource

  • Rank
    Newbrie
  1. Is there an issue with programming the PIC18F2520 EEPROM using BoostC? Please try this anyone using PIC18F2520 chips. Thanks TWSource example code that I am trying to get working: void WrIEEPROM(unsigned char d, unsigned char a) { eeadr = a; eedata = d; eecon1.7 = 0;//EECON1_EEPGD = 0; eecon1.6 = 0;//EECON1_CFGS = 0; eecon1.2 = 1;//EECON1_WREN = 1; intcon.7 = 0; //INTCON_GIE = 0; eecon2 = 0x55; eecon2 = 0x0AA; eecon1.1 = 1;//EECON1_WR = 1; intcon.7 = 1;//INTCON_GIE = 1; while (eecon1.1); eecon1.2 = 0;//EECON1_WREN
×
×
  • Create New...