Thread
:
Large Lookup Tables
View Single Post
#
2
29-01-2004, 23:56
deltacoder1020
Computer Guy
AKA: Dav
#1020 (The Indiana Prank Monkeys)
Team Role: Programmer
Join Date: Jan 2004
Location: Muncie, Indiana
Posts: 340
Re: Large Lookup Tables
try using the "rom" keyword in the variable definition - this allows you to place constant data in the PIC's rom, which is 32k - easily enough to store a very large lookup table or two.
i.e.
Code:
const rom unsigned char mytable[256] = { [mydata] };
__________________
Team 1020, the Indiana Prank Monkeys (
www.team1020.org
)
deltacoder1020
View Public Profile
Visit deltacoder1020's homepage!
Find all posts by deltacoder1020
Find CD-Media Photos by deltacoder1020
Find CD-Media Papers by deltacoder1020