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

Forum Post: RE: 1PPS code for msp430

$
0
0
alright i understand , but when i have multiple conditions in my main function , (such as : if ((P2IN & BIT2)==0) and i want to generate the 1pps when this condition becomes true and stops it when its false , although the ISR function cannot be placed in the main function - it's supposed to be outside the function , so how can i make that connection between the ISR function and the condition ? and how can i do that when i have multiple conditions?

Viewing all articles
Browse latest Browse all 62309

Trending Articles



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