movimiento cabina
elevator.h
- Committer:
- Hedizxom
- Date:
- 2018-06-06
- Revision:
- 1:da94bffcc0d9
- Parent:
- 0:e6eb579c2a24
File content as of revision 1:da94bffcc0d9:
#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