SMARTASSES 2019

Dependencies:   mbed Crypto

Revision:
1:184cb0870c04
Parent:
0:de4320f74764
Child:
2:4e88faab6988
--- 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);
         }
 }