Hi All,
I am a bit confused with how .inc files work using MPLab. I understand how the individual pic's .inc file works as it defines the processor directives..
I need to create a 703x3 look-up table (total of 2109 values). I have 3 inputs (hence the "x3") which are X, Y and Z. There can be a total of 709 different possible variations of these inputs (hence the "703"). I need to evaluate each and every one of these 2109 values and compare them to my sampled data taken (of X, Y and Z at any given time within the program).
My question is would a .inc file work for creating such a look-up table? What are the benefits and/or limitations of these .inc files? How many of these can I call out within my program?
I am using a pic16f684.
Any advice would help. Thanks in advance!
SL
I am a bit confused with how .inc files work using MPLab. I understand how the individual pic's .inc file works as it defines the processor directives..
I need to create a 703x3 look-up table (total of 2109 values). I have 3 inputs (hence the "x3") which are X, Y and Z. There can be a total of 709 different possible variations of these inputs (hence the "703"). I need to evaluate each and every one of these 2109 values and compare them to my sampled data taken (of X, Y and Z at any given time within the program).
My question is would a .inc file work for creating such a look-up table? What are the benefits and/or limitations of these .inc files? How many of these can I call out within my program?
I am using a pic16f684.
Any advice would help. Thanks in advance!
SL