movimiento cabina
elevator.h
- Committer:
- Hedizxom
- Date:
- 2018-02-20
- Revision:
- 0:e6eb579c2a24
- Child:
- 1:da94bffcc0d9
File content as of revision 0:e6eb579c2a24:
/* File: doors.h.h * Author: Camilo Londoño *Board: KL25Z *Hardware: Servomotor, * * Desc: * * */ #ifndef elevaor_H #define elevator_H #include "mbed.h" class Elevator { public: Elevator(PinName enable,PinName Up,PinName Down); void go_up(); void go_down(); void off(); private: PwmOut enable; DigitalOut up; DigitalOut down; }; #endif