a simple code for elevator
Dependencies: PinDetect mbed Servo
Diff: speed.h
- Revision:
- 0:85829f7bbe62
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/speed.h Mon Jun 04 13:51:43 2012 +0000 @@ -0,0 +1,18 @@ +/* + * 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); \ No newline at end of file