The example program for mbed pin-compatible platforms

Dependencies:   mbed

Fork of mbed_blinky by Mbed

main.cpp

Committer:
Stefano18
Date:
2014-10-25
Revision:
11:49e4fe461915
Parent:
10:3427cf55bbea

File content as of revision 11:49e4fe461915:

#include "mbed.h"

DigitalOut a(A0);
DigitalOut b(A1);
DigitalOut c(A2);

int main() {
    while(1) {
         
         
         
         a= 1;
         wait(0.3);
         b=1;
         wait(0.2);
           c=1;
           wait(0.1);
           
           
        a = 0;
wait(0.3);
        b=0;
        wait(0.2);
       c=0;
     wait(0.1);
    }
}