MSP430 – GCC

Photo of author

By Jackson Taylor

Energia is GCC based open source IDE. Since it contain GCC, we can use Energia  to make program which saves memory size by using GCC in it. Here is code for blinking. See the memory usage difference…!!!!!!

unsigned long int i;
void setup()
{
    P1DIR = 0x41;
    P1OUT=0;
}
void loop()
{
    P1OUT=0x41;
    for(i=0;i<950000;i++);
    P1OUT=0x0;
    for(i=0;i<950000;i++);
}
See also
17V-24V DC TO 48V DC BOOST CONVERTER WITH CLOSED LOOP CONTROL USING ARDUINO AND IGBT

Revive Your Dead Electronics

Got a drawer full of dead gadgets or a failing car battery? Instead of paying a premium for replacements, use this simple trick to easily recondition them right from home.

See How It Works