Other Parts Discussed in Thread: MSP430FG439
Hi, I recently downloaded the coding for the msp430fg439 with the heart_rate and EKG display from Ti but everytime I run it, it gives me an error saying that the ADC_VECTOR is undefined. I am wondering if anyone know how to fix it? Any help will be nice.
Here is the code with the error in it
#pragma vector = ADC_VECTOR // ADC12 ISR
__interrupt void ADC12ISR (void)
{
Datain = ADC12MEM0; // Store converted value in Datain
__bic_SR_register_on_exit(LPM0_bits); // Exit LPM0 on return
}// ADC12ISR
the error
Description Resource Path Location Type
#20 identifier "ADC_VECTOR" is undefined main.c /jjjj line 291 C/C++ Problem