This is probably never gonna get done

Dependencies:   Crypto

Files at this revision

API Documentation at this revision

Comitter:
estott
Date:
Mon Feb 27 10:25:06 2017 +0000
Parent:
0:de4320f74764
Child:
2:4e88faab6988
Commit message:
Added mbed library

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-os.lib Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Feb 17 22:47:01 2017 +0000
+++ b/main.cpp	Mon Feb 27 10:25:06 2017 +0000
@@ -93,7 +93,6 @@
 //Main
 int main() {
     //Initialise the serial port
-    serialThread.start(&serialOut);
     Serial pc(SERIAL_TX, SERIAL_RX);
     pc.printf("Hello\n\r");
     
@@ -101,7 +100,7 @@
     motorHome();
     
     //Poll the rotor state and set the motor outputs accordingly to spin the motor
-    while {1} {
+    while (1) {
         motorOut(readRotorState()+leadState);
         }
 }
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-os.lib	Mon Feb 27 10:25:06 2017 +0000
@@ -0,0 +1,1 @@
+https://github.com/ARMmbed/mbed-os/#34c1facf42a174f47fdf9002cd8c6bf10ac41744