Re: Saving & retreiving a structure in eeprom

2020-06-09 Thread Dave Hansen
You wrote >>> eeprom_read_block((void *), (const void *)eepLoc, num) ; What is num? -=Dave From: AVR-GCC-list on behalf of Royce Pereira Sent: Tuesday, June 9, 2020 8:18 AM To: avr-gcc-list@nongnu.org Subject: Saving & retreiving a structure in eeprom

Saving & retreiving a structure in eeprom

2020-06-09 Thread Royce Pereira
Hi, The MPU is ATMega8. AVR-GCC version is 9.1.0 I have a structure that I'm trying to save (& retrieve in eeprom). Furthermore, it is to be saved in an indexed location in the eeprom from 0 to 29. The structure is 4 bytes in size. So total 127 bytes are used in EEPROM