a simple code for elevator
Dependencies: PinDetect mbed Servo
speed.h
- Committer:
- kemken
- Date:
- 2012-06-04
- Revision:
- 0:85829f7bbe62
File content as of revision 0:85829f7bbe62:
/* * PROGRAM RESPONSIBLE FOR open/close door. * ^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^ * * FILE NAME: speed.cpp * USAGE: library file of speed.cpp */ /* * including the wanted library files. */ #include "mbed.h" /*function prototype*/ void motor (float speed, int time); void motor_update (void); void motor_start (void);