Question: #include msp.h /** * main.c */ void main() { uint16_t dly= 65535; // 2^16 int x; /* Configuration of MSP432 */ P1->SEL0 = 0x00; //

#include "msp.h"

/** * main.c */

void main() { uint16_t dly= 65535; // 2^16 int x; /* Configuration of MSP432 */ P1->SEL0 = 0x00; // configure P1.0 as GPIO P1->SEL1 = 0x00; // configure P1.0 as GPIO P1->DIR = 0x01; // P1.0 output

/* Application */ while (1){ // do forever P1->OUT = P1->OUT ^ 0x01; // Toggle LED for (x=0;x

i wrote this code on code composer to Flash LED by using msp432. but on code composer it kept saying P! is undefine. What should i do to flash my LED and define p1. please help me with this.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!