How to build up a lookup table in microcontroller?
- by GiGi
Hi,
I am so confused about how to build up a 3-dimension lookup table.
Is the template as follows:
create a 3 dimensional array to store data. Then create linked list. Then create function 'insert' to put all the data into the array?
As some book said, linked list should be static const, is it need to create another function to expand the list?
Because the lookup table should be used in a microcontroller, it only needs to finish the operation of putting the data into the array and whenever want to find the data, it will be fast and easy to search.
Could you help me with that and give me some suggestions?
Thank you.