aa

main.cpp

Committer:
com3
Date:
2013-07-11
Revision:
0:b145ea9e6320

File content as of revision 0:b145ea9e6320:

#include "mbed.h"

DigitalOut myled(LED1);
DigitalIn mysw(p7);

int main() {
    mysw.mode(PullUp);
    while(1) {
        myled = mysw;
        //wait(0.2);
    }
}