Para una proyecto

Revision:
0:6106a82e900c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DistanceMaxSonar.h	Fri Mar 28 15:51:25 2014 +0000
@@ -0,0 +1,24 @@
+#ifndef MBED_DISTANCEMAXSONAR_H
+#define MBED_DISTANCEMAXSONAR_H
+ 
+#include "mbed.h"
+ 
+class DistanceMaxSonar {
+    public:
+        DistanceMaxSonar(PinName MaxS);
+        float GetInch();
+        float GetFt();
+        float Getcm();
+        float GetM();
+        
+         static int bar;
+         static void isr();
+
+ 
+
+        
+    
+    private:
+        AnalogIn _MaxS;
+};
+#endif
\ No newline at end of file