There is a transposed const and * in the section Using the EEPROM. The code snippet should read: struct MYEEPROM { byte aByte; word aWord; word aSecondWord; } * const eeprom = (struct MYEEPROM *)0;
Month: October 2019
The ATmega4809 microcontroller used in the Arduino Nano Every differs from the other AVR microcontrollers in other Arduino boards in that all memories can be addressed as part of the data space. This “cheat” means it no longer behaves like a Harvard architecture which simplifies coding. Literal strings and variables declared as const are now …