Skip to Main Content
AVR Programming
book

AVR Programming

by Elliot Williams
January 2014
Intermediate to advanced content levelIntermediate to advanced
474 pages
13h 28m
English
Make: Community
Content preview from AVR Programming

Chapter 19. EEPROM

In Chapter 16 we used external EEPROM (electrically erasable and programmable ROM) for nonvolatile external data storage. For making a data logger it was just right: EEPROM provides low-power, long-term storage of fairly large amounts of data. But if all you want is a little bit of data to survive a chip reset, adding an extra chip and tying up the SPI or I2C lines just for a few bytes of configuration data seems overkill. That’s why the Atmel chip designers put a small amount of EEPROM on each of the ATmega chips for you to use.

In this chapter, we’ll turn the AVR into a Vigenère Cipher encoder and decoder, storing the encryption key strings in nonvolatile EEPROM memory so that you don’t have to remember ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Embedded Linux Programming - Third Edition

Mastering Embedded Linux Programming - Third Edition

Frank Vasquez, Chris Simmonds

Publisher Resources

ISBN: 9781449356484Errata PageSupplemental Content