Hi Guys, Sorry for the confusion and thanks for the response. I don't have a detailed schematic as of yet, but I am currently using a Kionix 3-axis accelerometer with a pic16f684 using i2c. The accelerometers outputs X, Y and Z are all unique to one another and non-linear. From rotating the accelerometer, and for my application, there will be 700 different possibles of where X, Y and Z all land at the sample time of the acceleration outputs. I consider it to be 700 outputs.
Due to the outputs being non-linear, I will need some sort of look-up table to produce something like the following :
(When I have all 3 accelerometer outputs sampled and stored for evaluation, I will need to compute "If X = 0x10, and Y = 0x12 and Z = 0x13, then the output is Output 1"). And if the values do not match, then I need to check Output 2...and Loop through the table until it finds the right output.
X Y Z
Output 1 = 0x10 0x12 0x13
Output 2 = 0x20 0x22 0x23
.
.
.
Output 699 = 0xF7 0xF8 0xF9
Output 700 = 0xFA 0xFB 0xFC
All 700 outputs (of where X, Y and Z are sampled at) that I have are known from test and evaluation of the accelerometer. I do know what each X, Y and Z value will be for each output...
Hope this helps, and thanks guys!
Steve