Hi I have been searching around and keep getting sidetracked for hours lol.
I am trying to use an array or similar that I can interpolate.
Lets say I have an analog input with the values of 1-1023
And I know some of the values I want for output
e.g.
0 = 0
400 = 100
600 = 100
1023 = 30
Obviously 200 is 20, 500 is 100 etc.
I have looked at multimap and a few others but I am a bit lost when the numbers go up and down.
I may wish to add another row or column to make it 2D at a later date.