Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: Error in Timer

$
0
0
Sorry, I missed this before: You have 3 cases: (i 2), (i==3). After the third interrupt, i becomes both >2 and ==3, so you turn on LED2 but then set i=0 (so it is then =2)[2nd case] or (i==4) [3rd case] so there's a visible time gap where LED2 is lit.

Viewing all articles
Browse latest Browse all 62309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>