red led on breadboard should light up when you plug the board in.

Dependencies:   mbed

/media/uploads/lord_peltac/leds_on_breadboard.png /media/uploads/lord_peltac/anubis_0.png /media/uploads/lord_peltac/cpp.png

main.cpp

Committer:
lord_peltac
Date:
2015-09-26
Revision:
0:6a8671d5941f

File content as of revision 0:6a8671d5941f:

#include "mbed.h"

DigitalOut redled(p6);

int main() {
    while(1) {
        redled = 1;
        wait(0.2);
        redled = 0;
        
    }
}