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

Forum Post: RE: Make code faster msp430

$
0
0
Hi Joe, Seems you want to read data from PIN1.5 and in your code the MSP running at 1MHz, in ReenableClock() there is 3.5ms delay, so ~3.5 x 8 x 3 = 84ms for each number you get. 1 second / 84ms = ~ 12 reads, that's what your code doing. So you need change the delay cycles in ReenableClock() . KC

Viewing all articles
Browse latest Browse all 63683

Trending Articles



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