Hello,
This is my first time programming a MSP device on a PCB. I am attempting to pull a GPIO pin high to verify my code uploads to the board correctly. The code is as follows:
#include "msp.h" #include <ti/devices/msp432e4xx/driverlib/driverlib.h> int main(void) { GPIO_setAsOutputPin(GPIO_PORT_PE,GPIO_PIN3); GPIO_setOutputHighOnPin(GPIO_PORT_PE,GPIO_PIN3); return 0; }
As I understand it, I need to include the driverlib to use the GPIO_setAsOutputPin function. However, when I attempt to build the project I get the following error:
line 5: fatal error #1965: cannot open source file "ti/devices/msp432e4xx/driverlib/driverlib.h"
I have installed the SDK, but appear to have done something incorrectly. How do I resolve this issue?