Hi,
I have a serial values, from sensor rpm.
In this example it goes from 5089 rpm to 10452rpm.
I want to build a table with fixed values, ie: 5000, 5500, 6000,... i adjust the increments.
I want to search in the array numbers the value > or = than the number in table.
For example, if i have 5000 i want to search the next value > 5000, in this case 5089.
If the next value is 5500 i want to search value > or = than 5500, in this case 5505....
so, saved in the array this values which depent from the increments of parameters. I got the values to search, but i didnt get saved the correct values..
I attached the example with file numbers.
Any help?.
Thanks.