Hi there,
I got stuck with a project. I merged the accelerometer values with a basic formula and now i got 1 value that is continue changing.
Is it possible to add an object that stores the minimum value and maximum value of this continue changing value?
I need to know what the maximum and minimum value is. So i need to do some testing like moving really fast with my smartphone and throwing him so there's no gravity. But i want the program to store the minimum value and maximum so i can do some tests with the smartphone.
Can it be something like this:
if value < previous value
then
store value in object.
else do nothing...?
This is a really important issue for a project i'm working on. So i would be very pleased if someone can help me with this...