Kyle Zampaglione
/
SlotSensorsTest
Code for Slot Sensor readout. Prints to text file on mbed.
Revision 6:360247c0c7df, committed 2013-07-10
- Comitter:
- kzampag
- Date:
- Wed Jul 10 19:23:13 2013 +0000
- Parent:
- 5:7e1dcb3904dd
- Commit message:
- Added comments to code
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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