tintin tonton / Mbed 2 deprecated 01_LED_clignotant

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "mbed.h"
00002 
00003 DigitalOut led(LED1);
00004 
00005 int main() {
00006     while(1) {
00007         led = !led;
00008         wait(0.1);
00009     }
00010 }