Could you help me understand this question.
What is the question?
What are you trying to set the sample rate to?
What are you reading the analog pin for?
Why are you using delay() at all?
Could you help me understand this question.
What is the question?
What are you trying to set the sample rate to?
What are you reading the analog pin for?
Why are you using delay() at all?