This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: TI C/C++ Compiler
I created a new file using the MSP430 DriverLib and Im trying to use a timer but its saying that alot of the code is undefined. Im wondering if the driverlib file is not linked properly or does not contain what necessary declarations
#include "driverlib.h"
#include <msp430fr5994.h>
void main(void) {
WDT_A_hold(WDT_A_BASE); // disable watchdog
PM5CTL0 &= ~LOCKLPM5;
P1DIR |= BIT0; // P1.6 out to relay (LED)
CCTL0 = CCIE;
CCR0 = 50;
TACTL = TASSEL_1 + MC_2
_enable_interrupt();
}
Hi,
I ended up looking at the user guide file that contains the specific code for msp430fr5994 turns out i was using some incorrect names for some of my code and now it works after i changed it according to the user guide
Thanks
**Attention** This is a public forum