Example Mbed code for MIT 2.74 Lab 4

Dependencies:   ExperimentServer QEI_pmw MotorShield

Dependents:   project

Revision:
17:1bb5aa45826e
Parent:
16:f9ea2b2d410f
--- a/BezierCurve.cpp	Thu Sep 24 20:16:05 2020 +0000
+++ b/BezierCurve.cpp	Fri Sep 25 04:39:17 2020 +0000
@@ -36,11 +36,11 @@
     pc.printf("Setting Points\n");
     float * p = pts;
     for(int i = 0 ; i<=_order ; i++) {
-        pc.printf("\tPt. %d:",i);
+        pc.printf("\n\r\tPt. %d:",i);
         for( int j = 0 ; j < _dim ; j++) {
             _pts[i][j] = *p;
             p++;
-            pc.printf("\t\t%f\n",_pts[i][j]);
+            pc.printf("\t\t%f",_pts[i][j]);
         }    
     }
 }