fsdfds

Dependencies:   mbed

Revision:
5:9aae12408a54
Parent:
4:fd49edfabfb2
Child:
6:999e8ae7d969
--- a/main.cpp	Sun May 17 16:13:43 2020 +0000
+++ b/main.cpp	Sun May 17 16:15:16 2020 +0000
@@ -269,6 +269,7 @@
     t.start();
     leftSwitch.rise(&leftEnd);
     rightSwitch.rise(&rightEnd);
+    calcControl();
     rpc.attach(&Rx_interrupt, Serial::RxIrq);
     for (int i=5; i>0; i--) {
         getPendulumAngle();