Ok, then the maximum sampling rate is 1 MHz?
How can I reach 100Ksps if the AnalogRead() takes 39us? ...
RTFM Search & Read the forums - people have talked about this before may people have posted code (myself included) my favourite way is use the PDC others favour tight loops after modifying the analog read command others rewrite the analog read
For the record my previous timing for analogRead() was with 1.5.4.I've now installed 1.5.5 and the speed has increased dramatically (as the release notesstate), getting between 2.0us and 3.3us for analogRead() now.Interestingly the slower case was consecutive reads of analog pin 0, whereasreading analog pins 0 to 9 in turn was quicker... Done with an unrolled loopof 10 consecutive analogreads.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16