11 years, 2 months ago.

Canned Routine to Stop "Hello World"

A suggestion for this page, which encourages new users to try "Hello World": Before trying to create my own program (which isn't working yet, since right-clicking on "My Programs" isn't doing anything), another download should be added to this page entitled "Stop the Blinking" or similar! I'd like the distracting flashing to stop until I can figure out how to modify the code that's on my LPC1768.

Question relating to:

Great! Thanks for the help!

posted by Larry Buchholz 07 Feb 2013

2 Answers

11 years, 2 months ago.

Try downloading this to stop the blinking...

Import programGoodbyeWorld

Stop the Blinking LED

#include "mbed.h"

DigitalOut myled(LED1);

int main() {
    myled = 1;
    wait(0.5);    
    myled = 0;
        
    while(1) {
        wait(1.0);
    }
}

Accepted Answer
10 years, 3 months ago.

Why not delete the Hello_World.bin from the mbed and press the button again?