Quantcast
Channel: MSP low-power microcontroller forum - Recent Threads
Viewing all articles
Browse latest Browse all 21969

MSP-EXP434FR5994 Launchpad

$
0
0

I have recently purchased two launchpads, both an MSP-EXP430FR5994& an MSP-EXP430FR2311.

according to the datasheet for the MSP430FR5994 launchpad, there are LEDs connected to P1.0 & P1.1.

Using the code below as a simple blink code, neither LED flashes. If I apply a similar version of the code to the MSP430FR2311, I can successfully blink the LEDs.

I'm new to the MSP420 platform, am I mistaken in thinking that such simple code should be interchangeable (short of remapping a few pins)?

Many Thanks,

Ben Gill

#include <msp430.h> 

/*
 * main.c
 */
int main(void) {
    WDTCTL = WDTPW | WDTHOLD;	// Stop watchdog timer
	
    P1DIR = 0b00000011;
    P1OUT = 0b00000001;

    while(1)
    {
    	P1OUT ^=0b11111111;
    	_delay_cycles(2000000);
    }



//	return 0;
}


Viewing all articles
Browse latest Browse all 21969

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>