Quantcast
Channel: MEL PICBASIC Forum
Viewing all articles
Browse latest Browse all 4787

What happens if interrupt breaks PULSIN, PULSOUT, ADCIN, PWM, etc statements?

$
0
0
Hello.

Say there is some code, which runs in loop, and measures frequency at one pin, measures voltage at another pin and does something extra.

There is also an interrupt configured, so when signal on certain pin gets high, another piece of code is launched, which will take about 1 millisecond to execute. What will happen? as I understand, all above mentioned operations will be disrupted, and measurements need to be retaken, correct?

Viewing all articles
Browse latest Browse all 4787

Trending Articles