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
MSP430-TIMER

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