Hi,
I may have a simple question but I cannot find it it the forum yet:
I have a bunch of arrays like
int map1[] = { 210, 200, 190, 180, 170, 160, 150, 140, 130, 120, 110, 100, 90, 80, 70, 60, 50, 40, 30, 20, 10, 0 };
int map2[] = { 210, 200, 190, 180, 170, 160, 150, 140, 130, 120, 110, 100, 90, 80, 70, 60, 50, 40, 30, 20, 10, 0 };
What is basically want to do is using an algo like
selected= 120/60
This will give me value 2
I am searching for a possibility to retrieve array values like this
value = (map(selected))[4]
Does anyone have an idea how to do that?