Pipeline Technology Centre / Mbed 2 deprecated ConsolTest

Dependencies:   mbed

Dependents:   TabbedGUIMbed

Revision:
18:bb632df62f51
Parent:
17:d9fb4a3780c7
Child:
21:5256c5435b33
--- a/Distance.cpp	Tue Jul 07 08:47:35 2015 +0000
+++ b/Distance.cpp	Tue Jul 07 11:00:08 2015 +0000
@@ -1,17 +1,17 @@
-#include "mbed.h"
-
-int radius;
-float number_sensors;
-
-float Distance(){
-    {
-        
-        pc.prinf('Ready to read\n');
-        while (1){
-            if (pc.readable()){
-                radius = pc.read();
-                number_sensors()= pc.read();
-                break;
-                }
-            }
-        }
\ No newline at end of file
+//#include "mbed.h"
+//
+//int radius;
+//float number_sensors;
+//
+//float Distance(){
+//    {
+//        
+//        pc.prinf('Ready to read\n');
+//        while (1){
+//            if (pc.readable()){
+//                radius = pc.read();
+//                number_sensors()= pc.read();
+//                break;
+//                }
+//            }
+//        }
\ No newline at end of file