For a small project I'm want to log the corresponding voltage if it is above a certain level including the time from start.
The voltage is retreived from an accerometer.
for example:
I start the programm at 12:00 pm.
If the voltage is above 1.5 Volt I need to measure that value (one sample is enough).
So at 12:05 I measure 1.7 Volt and needs to be showed in a graph
At 12:07 I measure 1.9 Volt, which needs to be plotted in the same graph
At 12:15 I measure 4 Volt.
At 12:30 end of the programm
in all between minutes the value is zero and should not be showed.
Can anyone help me with this problem?
I can make a graph, but i only use single values not a array.
Thank you
Regards
Henri