I did that, but it is not working, as till now the logic is reading the minimum as zero. Instead of that, can I get the resistance at 30 seconds, for example? And also, how can I filter the data, as the data have noise?
The resistance is calculated from voltage and plot it versus time and the plot looks like rising graph the same as the baseline resistance app you shared before. The minimum resistance is working on your app with using slider but for my app is not working. However, I used the same code blocks.
Yes the rising I will solve but the problem here is that it cannot calculate the minimum resistance. However, I can get the max resistance.
Also, for one rising section, it still has problem
I can get the value at any internal index and it is working
Let me ask one additional question: if I need to get the resistance value from the time, not by index. For example I need to set the time at 30 seconds and I need the resistance at this time value.
If you need the resistance at 30 seconds you would need to loop through the readings until you encounter one that's at or past 30 seconds, and grab it.
Break out of the loop.
If you fall off the end of the list, you don't have enough readings.