Hello Folks, I’m stuck in this. I want to write a program that should simply sample both FSR and EMG A\D outputs with a sampling rate of 100 Hz (using timer interrupts to do this rather than a “delay” loop).
Well worth looking at this article by Nick Gammon.
See blink without delay in the examples - the trick is called polling.
This may be similar to what you want too:
@Jack Christensen, I saw the codes. Though in this case, I should be able to use 2 analog inputs(FSR and EMG)with a sampling rate of 100Hz. Thanks for your help too.