Part1

Dependencies:   mbed

main.cpp

Committer:
psahay
Date:
2015-01-29
Revision:
1:79bb0caaa231
Parent:
0:4e99e4caf232
Child:
2:e05f61e0fa4b

File content as of revision 1:79bb0caaa231:

#include "mbed.h"
#include "math.h"

PmwOut r1(p26)
PmwOut r4(p25) 
DigitalIn pound(p17);   //Not sure if this will work labled (analog input)
DigitalIn two(p16)      //^

int main() {
    while(1) {
        myled = 1;
        wait(0.2);
        myled = 0;
        wait(0.2);
    }
}