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:
8:21f7660df60b
Parent:
7:d551177b5d12
Child:
9:2ef0f688c4e3

File content as of revision 8:21f7660df60b:

#include "mbed.h"

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

int main() {
    while(1) {
         a= 1;
         b=1;
         c=1;
        wait(1.0);
        a = 0;
        b=1;
        c=1;
        
        wait(1.0);
    }
}