Skip to content

Energia: IDE and Framework

Rei Vilo edited this page Nov 13, 2013 · 2 revisions

Energia is actually two things: an IDE and a framework.

Energia as IDE

The IDE is taken from Processing "as is".

Energia as Framework

The framework includes all the libraries and is specific to Energia and specifically designed for Texas Instruments' MCUs, including:

  • MSP430G2331, MSP430G2452, MSP430G2553
  • MSP430F5529
  • MSP430FR5739
  • LM4F120H5QR, TM4C123GH6PM

The framework shares the same functions and is compatible with the Wiring / Arduino framework. The same code can run on an Arduino board and a LaunchPad with minimal adaptation.

Example on Arduino

uint8_t pinLED = 13; // specific to Arduino Uno
pinMode(pinLED, OUTPUT);
digitalWrite(pinLED, HIGH);
delay(500);
digitalWrite(pinLED, LOW);

Example on LaunchPad

uint8_t pinLED = RED_LED; // specific to LaunchPad
pinMode(pinLED, OUTPUT);
digitalWrite(pinLED, HIGH);
delay(500);
digitalWrite(pinLED, LOW);

The Energia framework can be used with a standard IDE, like

  • Eclipse with CCS 6, still in beta, — Windows and Linux only,
  • Visual Studio with Visual MicroWindows only,
  • Xcode with embedXcodeMac OS X only.
Clone this wiki locally