Chapter 18. Using Flash Program Memory
The project for this chapter pulls off something pretty cool: storing enough sampled sound data in your limited 16 KB of memory so that you can build a voltmeter that talks to you using your own voice. It’s not easy or even particularly sensible, but it gives me a good excuse to demonstrate how to use data stored in program memory.
Storing nonprogram data in flash program memory space is also very useful for any kind of constant data that you’d like to use in your programs—waveforms, menu strings, lists of birthdays, or any other sort of data that doesn’t need to change.