create and send the file to pc

Dependencies:   MCP23017 WattBob_TextLCD mbed

Fork of HelloWorld by Simon Ford

main.cpp

Committer:
haseo1989
Date:
2014-02-12
Revision:
2:47c808c02920
Parent:
0:fb6bbc10ffa0
Child:
3:6cc06b58870b

File content as of revision 2:47c808c02920:

#include "mbed.h"

DigitalIn   1sIP(p5);
DigitalIn   400msIP1(p6);
DigitalIn   400msIP2(p7);
AnalogIn    800msIP1(p8);
AnalogIn    800msIP2(p9);

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