Tuesday, March 6, 2012

How fast can an arduino switch?

Using blink, set with 0 delay, my o-scope registered 62khz. 

Now I have done a little programming with PIC.  And if it takes 4 clocks to run each command, a 16mhz PIC should be able to output 2mhz.  I was told AVR can do most things in two clocks, so it should be able to pump out 8mhz!

And we're getting 62khz.  It says something about the arduino overhead, and the compiler.

No comments:

Post a Comment