I have a program in which I read an analog pin every 50 ms., using analogRead(). The same program has a timer configured to issue a data output every 50 ms. I understand that analogRead() requires about 100 ms. to execute. Does the timer interrupt have priority over analogRead(), or vice-versa?
Thanks in advance for any revelations.