Used to read incoming PWM signals from RC channels

Dependents:   A-Quad

Revision:
2:4abac72addb7
Parent:
1:eaf70ff4df07
diff -r eaf70ff4df07 -r 4abac72addb7 PulseIn.h
--- a/PulseIn.h	Sun Dec 23 23:49:18 2012 +0000
+++ b/PulseIn.h	Tue Jan 08 15:01:22 2013 +0000
@@ -8,14 +8,13 @@
     public:
         PulseIn(PinName p);
         int read(void); 
-        int getAngle(void);
        
     private:
         InterruptIn _k; 
         void rise(void); 
         void fall(void); 
         Timer t; 
-        uint16_t _duration,_prev; 
+        uint16_t _duration; 
 };
  
 #endif