You really are making great progress! Gotta make this post short cause I've gotta run and pick up 2 buddies to head to a scenario game, but yes, you can do what you ask. The AVR allows you to treat the registers as memory (memory mapped). You can use a pointer set to their memory address (see datasheet), move the data from the SRAM location pointed to into a the EEDR, write that to EEPROM, and increment the pointer to SRAM and the EEPROM pointer, and repeat to step through the register block that you want to write.
Congrats! You've gotten a lot of functionality implemented! You gotta love the world of embedded microcontrollers!
bit-wizard
Congrats! You've gotten a lot of functionality implemented! You gotta love the world of embedded microcontrollers!
bit-wizard



Comment