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

Forum Post: RE: Configurate TimerA and P1.2 as input

$
0
0
There are some errors (PxSEL has nothing to do with analog inputs (see table 18 of the datasheet), and writing PxIN does not make sense). However, this code correctly configures P1.2 as general-purpose input. If you're seeing a PWM signal, it's generated by the external circuit, or there is some other code that reconfigures the pin, or this is not the code that is actually running on the device.

Viewing all articles
Browse latest Browse all 62309

Trending Articles



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