Rampa
Dependencies: MotorAPasos SRF05 mbed
Diff: Puerta/Puerta.h
- Revision:
- 0:8e6feefe4208
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Puerta/Puerta.h Fri Mar 04 18:30:02 2016 +0000 @@ -0,0 +1,18 @@ +#ifndef Puerta_h +#define Puerta_h + +#include "mbed.h" + +class Puerta +{ + public: + Puerta (PinName pin); + + void abrir(); + void cerrar(); + + private: + PwmOut _servo; +}; + +#endif \ No newline at end of file