Ramon Waninge / Mbed 2 deprecated Milestone1

Dependencies:   FastPWM mbed QEI biquadFilter HIDScope MODSERIAL

Revision:
19:1d0b25d4d775
Parent:
14:e21cb701ccb8
Child:
20:695140b8db2f
diff -r e21cb701ccb8 -r 1d0b25d4d775 main.cpp
--- a/main.cpp	Mon Oct 15 12:56:25 2018 +0000
+++ b/main.cpp	Mon Oct 22 14:19:25 2018 +0000
@@ -31,10 +31,12 @@
 DigitalOut pin7(D7);    // Motor 1 direction
 //float u1  = pot1;
 
+// Implementing libraries
 MODSERIAL pc(USBTX, USBRX);
 Ticker motor;
 float u3 = 0.0;         // Normalised variable for the movement of motor 3
 
+// Functions
 void draaibuttons()         
 {   /*  Pressing button 2 concludes in a change of speed. While button 1 is pressed,
         the direction of change of speed is reversed. So pressing button 1 and 2
@@ -93,6 +95,7 @@
     pin3 = fabs(u3);   
 }
 
+// Main code
 int main()
 {
     pc.baud(115200);