code of robot bike

Dependencies:   SDFileSystem mbed

Fork of Robot_Bicycle by Chris LU

Revision:
2:ec30613f2b2b
Parent:
0:830ddddc129f
Child:
4:b0967990e390
--- a/SPI_9dSensor.cpp	Tue Jun 21 18:11:46 2016 +0000
+++ b/SPI_9dSensor.cpp	Tue Jun 21 18:47:22 2016 +0000
@@ -51,7 +51,7 @@
     sensor_CSG = 1;
     sensor_CSXM = 1;
     spi2.format(8, 3);
-    pc.printf("SPI ready.\n");
+    pc.printf("SPI ready.\r\n");
     wait_ms(50);
 }