Hello!
I've simple question. Is it possible to have digital I/O on port 2.6,7 instead external oscilator on uP MSP430F2012?
Here is code, which set Port 2.6&7 for output, and put them to high state. But if I run it on uP, there is above low state on pins P2.6,7. Where could be problem?
#include <msp430x20x2.h>
void main(void)
{
WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer
P2DIR |= 0xC0; // Set P2.6,7 to output direction
P2OUT |= 0xC0; // P2.6,7 to output direction
}
Thanks for answers!
Miha