I have a Fifo buffer, values are shifting every 0.2 seconds.
Fifo buffer is 10 integers long.
So every 2 seconds there came 10 new values in the buffer.
What I need to do is taking the 3 highest values.
How can I know wich values to take, how can I know wich values are the highest in other words ?
Fifo buffer is 10 integers long.
So every 2 seconds there came 10 new values in the buffer.
What I need to do is taking the 3 highest values.
How can I know wich values to take, how can I know wich values are the highest in other words ?