Well,
from what i' ve seen so far, each method is equal as long as the interupt routine is not very long and the intrrupts per second are not many. in case your interrupt routine is many cycles then the timer method might not be a good choice especialy if you are going to check an encoder which rotates really fast. In such a case, it is quite possible to get slipagge errors.
from what i' ve seen so far, each method is equal as long as the interupt routine is not very long and the intrrupts per second are not many. in case your interrupt routine is many cycles then the timer method might not be a good choice especialy if you are going to check an encoder which rotates really fast. In such a case, it is quite possible to get slipagge errors.