![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
02/07/15
Dependencies: mbed
Diff: main.cpp
- Revision:
- 68:c6399471ea49
- Parent:
- 67:04d67617131a
- Child:
- 69:74bffa1d3f7f
diff -r 04d67617131a -r c6399471ea49 main.cpp --- a/main.cpp Thu Aug 06 14:45:23 2015 +0000 +++ b/main.cpp Wed Aug 26 16:08:09 2015 +0000 @@ -10,16 +10,18 @@ DigitalOut led2(LED2); string handshake(); void run(); +int listen(); int main(void) { - initialise(3); //used to create the Datalog file should happen once for every bend test + if (handshake() == "success") { run(); } led2= 1; } + string handshake() { unsigned char input;