Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
I am using MPLab and MCC on a PIC18F45K22. My question is if I write a float to the eeprom will the address counter increment itself for the four bytes or will I need to use a for loop and advance the address counter?
Sorry! I misread the OP... I see what you mean... You want to write all the bytes in one go..
Normally serial eeproms have a "Housekeeping" which means if the eeprom supports page writes an entire page may be written to a scratchpad ( sram) and transferred internally... I do not think the inbuilt EEprom supports page writes on a PIC... So single write may be the only option..