Lookup table with external EEPROM
Steve Smith email (remove spam text)
The EEPROM is replaceable to allow different tables to be loaded, so
I guess I need to find out how to create an empty table in the PIC that
allows me to load all the EEPROM values at startup, then access them via
computed goto (retlw). I swear I saw some code for this in my travels on
the 'net, but I can't seem to locate it now that I actually need it.
You cant write to ROM from an external read (i2c) copy the values to a ram
block and use the FSR (INDF) to read back .
work off a base address and load the values into a chunk this can fast access
as ram later . (this depends on how much ram you have free) maybe a bigger
pic (873) it has its on eerom on board..
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email mitvma.mit.edu with SET PICList DIGEST in the body listserv
See also: www.piclist.com/techref/microchip/memory.htm?key=table
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the