|
用下面的程序试试:
#include "msp430x41x.h"
void main(void)
{
WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer
FLL_CTL0 = XCAP14PF; // Configure load caps
SCFQCTL = SCFQ_4M;
P1DIR = 0x22; // P1.1 & P1.5 to output direction
P1SEL = 0x22; // P1.1 & P1.5 to output MCLK & ACLK
while(1); // Loop in place
} |
|