energia

Primary tabs

energia msp430 demo MSPDebug


/*
Blink
The basic Energia example.
Turns on an LED on for one second, then off for one second, repeatedly.
Change the LED define to blink other LEDs.

Hardware Required:
LaunchPad with an LED

This example code is in the public domain.
*/

// date 8 Aug 2019
//comments are like instructions

// most launchpads have a red LED
#define LEDr RED_LED

//see pins_energia.h for more LED definitions
#define LEDg GREEN_LED

get Energia IDE here

Subscribe to RSS - energia