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.

[FAQ] CCS/MSP-EXP430FR5994: Using puts

Part Number: MSP-EXP430FR5994

Tool/software: Code Composer Studio

Hello,

I'm new to the MSP430. Using the MSP43fr5994 launchpad,

Using Code Composer Studio  9.1.0.00010

Code is based on 'BlinkLED...' example.

Code is compiling and running well (LED is toggled) but I'm not seeing any output of the puts in the CCS 'Console' tab.

What is missing?

#include <driverlib.h>
#include <stdio.h>

int main(void) {

    volatile uint32_t i;

    // Stop watchdog timer
    WDT_A_hold(WDT_A_BASE);

    // Set P1.0 to output direction
    GPIO_setAsOutputPin(
        GPIO_PORT_P1,
        GPIO_PIN0
        );

    // Disable the GPIO power-on default high-impedance mode
    // to activate previously configured port settings
    PMM_unlockLPM5();

    puts("Started");

    while(1)
    {
        // Toggle P1.0 output
        GPIO_toggleOutputOnPin(
            GPIO_PORT_P1,
			GPIO_PIN0
			);
        puts("1");

        // Delay
        for(i=100000; i>0; i--);
    }
}

Thanks.

**Attention** This is a public forum