Introduction - If you have any usage issues, please Google them yourself
MSP430G2553 code, can refer to 430G2X series, there are several multi-channel ADC10 sampling, TIMER timer interrupt, TIMER PWM output, initialize the UART, ASCII code output, receive interrupt. Especially multi-channel ADC10 multiple sampling, many students just beginning to learn 430 will not use, must remember to use an array to receive data, ADC code using the received data [0-4]. Multi-channel ADC with multiple sampling, particular note is that if you want to capture channel 4567 (that is, P1.4 ~ 7), you still have to set ADC10DTC1 = 8 , if an error is set to 4. But can ADC10AE0 | = BIT4+BIT5+BIT6+BIT7 (ADC function is not enabled P1.0 ~ 3 in) while ADC10CTL1 starting position is set INCH_7