Creating a lookup table with AVR

May 02, 2007 2 Replies

Dear friends,I want to have a lookup table in a tiny or mega16 microcontroller.I have no idea how can i create it. and how to search it,which memory should i use,EEPROM or Flash.



If you are using WinAVR, look up Program Space String Utilities (avr-libc documentation)

Otherwise read about the LPM instruction - be especially careful about how the address is specified

Dave

Hi try forums at:

formatting link

Cheers

:-]

Dale

Sara wrote:

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required