tarea uno pulsadores

Fork of Debounced by Warwick Racing

Revision:
1:4a01835c24f3
Parent:
0:8992c13bbb9b
--- a/DebouncedIn.h	Sun Nov 28 14:19:52 2010 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-#include "mbed.h"
- 
-     class DebouncedIn {
-         public:      
-              DebouncedIn(PinName in);
- 
-              int read (void);
-              operator int();
-               
-              int rising(void);
-              int falling(void);
-              int steady(void);
-               
-         private :    
-                // objects
-                DigitalIn _in;    
-                Ticker _ticker;
- 
-                // function to take a sample, and update flags
-                void _sample(void);
- 
-                // counters and flags
-                int _samples;
-                int _output;
-                int _output_last;
-                int _rising_flag;
-                int _falling_flag;
-                int _state_counter;
-     };
\ No newline at end of file