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

Forum Post: RE: want to interface ultrasonic with msp430g2553

$
0
0
i have set the launch pad on 1MHZ , divide by 1 , aclk . set the TACTL at 12C and TACCTL0 on capture on rising edge ,CCIS0 , CAP enable , interrupt enable . when the Echo on rising edge measure the value of timer TA0R TA0R*(1/58)= distance if distance is greater than 30 cm green Led will glow if ECHO on falling edge reset TA0R is this right way to set the register or anything other i have to do. thanks in advance yogesh

Viewing all articles
Browse latest Browse all 62309

Trending Articles



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