Kyle Zampaglione
/
SlotSensorsTest
Code for Slot Sensor readout. Prints to text file on mbed.
Diff: main.cpp
- Revision:
- 6:360247c0c7df
- Parent:
- 5:7e1dcb3904dd
diff -r 7e1dcb3904dd -r 360247c0c7df main.cpp --- a/main.cpp Mon Jul 08 16:43:29 2013 +0000 +++ b/main.cpp Wed Jul 10 19:23:13 2013 +0000 @@ -1,4 +1,14 @@ #include "mbed.h" +/* +Prints to terminal start and end time of each cycle. Writes times to txt file on mbed. +Mbed acts as disconnected to computer when writing to local directory. +Mbed will be return to device manager after test has completed. +To regain access to mbed while test is running press "e" to terminate program. + +Navigate to mbed after test has completed. +Test results in file "test" +File will be overwritten with each test. Rename file in code if want to keep multiple files +*/ Serial pc(USBTX, USBRX); // tx, rx