analog read interupt

If you look at the source of "analogRead", you'll see that it breaks down into three distinct sections.

  1. setup the input mux and start the conversion
  2. Idle wait for the conversion to finish
  3. read the result.

It is very simple to pick apart - no interrupts required.