Show Posts
Pages: [1]
1  Using Arduino / Project Guidance / Re: returning lowest value from an array on: April 19, 2013, 09:09:53 am
I never thought of doing it like that, that makes it really simple. Thanks!

So now I can just apply your "Lowest" value into my code for analysis, if I am looking at this correctly.
2  Using Arduino / Project Guidance / returning lowest value from an array on: April 18, 2013, 11:05:12 pm
Hi all,

I am having some difficulty with a 0-5v analog signal;  It has some random voltage spikes that are interfering with my program.  Since I know the low values are correct and what I want, I was thinking I could set up an array to take 100 readings and then allow me to use the lowest value to use in my program; and keep doing this repeatedly ( possibly a few times a second?)  Unfortunately I have no clue how to go about making the code for this. Can you guys help me? I know you're not supposed to ask for this kind of thing on here, but I would be grateful if someone could possibly write something that I could more or less plug into my existing code? Thanks in advance.

Andrew
Pages: [1]