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

Forum Post: RE: How to Proper Call an Interrupt within a Function

$
0
0
Again, thanks for the reply. The section of code that I included is part of a much larger project that nearly uses all available memory. I'm just working on one section for learning purposes/practice. I thought an interrupt would be the right choice because the micro is scanning for the presence of light about once every 150us and I don't want the device to stop scanning while it is flashing a red LED for failure. I was hoping to use a separate asynchronous clock to control the red LED on time in the interrupt so the scanning continues to be counted and other pass/failures will be detected.

Viewing all articles
Browse latest Browse all 64959

Latest Images

Trending Articles



Latest Images

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