MSP430F449 내장 온도 센서 사용하기
#include static volatile unsigned int ADCresult; static volatile unsigned long int DegC, DegF; void main(void) { volatile unsigned int i; WDTCTL = WDTPW+WDTHOLD; // Stop watchdog timer ADC12CTL0 = ADC12ON+REFON+REF2_5V+SHT0_6; // Setup ADC12, ref., sampling time ADC12CTL1 = SHP; // Use sampling timer ADC12MCTL0 = INCH_10+SREF_1; // Select channel A10, Vref+ ADC12IE = 0x01; // Enable ADC12IFG.0 f..