create and send the file to pc

Dependencies:   MCP23017 WattBob_TextLCD mbed

Fork of HelloWorld by Simon Ford

Committer:
haseo1989
Date:
Wed Feb 12 15:22:57 2014 +0000
Revision:
2:47c808c02920
Parent:
0:fb6bbc10ffa0
Child:
3:6cc06b58870b
start working, set the variables and pins

Who changed what in which revision?

UserRevisionLine numberNew contents of line
simon 0:fb6bbc10ffa0 1 #include "mbed.h"
simon 0:fb6bbc10ffa0 2
haseo1989 2:47c808c02920 3 DigitalIn 1sIP(p5);
haseo1989 2:47c808c02920 4 DigitalIn 400msIP1(p6);
haseo1989 2:47c808c02920 5 DigitalIn 400msIP2(p7);
haseo1989 2:47c808c02920 6 AnalogIn 800msIP1(p8);
haseo1989 2:47c808c02920 7 AnalogIn 800msIP2(p9);
simon 0:fb6bbc10ffa0 8
simon 0:fb6bbc10ffa0 9 int main() {
simon 0:fb6bbc10ffa0 10 while(1) {
simon 0:fb6bbc10ffa0 11 myled = 1;
simon 0:fb6bbc10ffa0 12 wait(0.2);
simon 0:fb6bbc10ffa0 13 myled = 0;
simon 0:fb6bbc10ffa0 14 wait(0.2);
simon 0:fb6bbc10ffa0 15 }
simon 0:fb6bbc10ffa0 16 }