LED-P23 LED2-P24

Dependencies:   mbed

main.cpp

Committer:
rajivwagle
Date:
2018-03-08
Revision:
0:a18f226926af

File content as of revision 0:a18f226926af:

#include "mbed.h"

DigitalOut myled1(p23);
DigitalOut myled2(p24);
 
int main() {
    
    while(1) {
        
        myled1 = 1;
        wait(0.1);
        myled1 = 0;
        wait(0.1);
        
        myled2 = 1;
        wait(0.1);
        myled2 = 0;
        wait(0.1);
        
         
    }
}