Hey, theres alots of information about higher sampling rates for analogread but I need to slower it to 8KHz. How do I can change it?
How do I can change it?
Don't call analogRead() as often.
Where is the code you were supposed to post?
Sorry for english. Didn't have any specific code I'm just using a analogRead() in loop(). But problem is I need to slow down the analogread timer. I need to be able to take samples form a signal that is 400 us long. Now when readind it gives more that one reading when calling analogread.
Now when readind it gives more that one reading when calling analogread.
No. It doesn't.
If you want to read a signal that lasts 400 milliseconds, you need to determine when the signal starts, and only start reading then.