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

Forum Post: RE: P2.6 AND P2.7 as GPIO in MSP430G2553 when NO external oscillator connected

$
0
0
I don't speak proper Roma, I would just say: void ConfigPins(void) { P1OUT = 0; P1DIR = 1; P2SEL = 0; P2OUT = 0; P2DIR = 0xC0 } I probably would get arrested in Rome for using "magic numbers" instead of their symbolic names.

Viewing all articles
Browse latest Browse all 62309

Trending Articles



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