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.
↧