a simple code for elevator
Dependencies: PinDetect mbed Servo
speed.h
00001 /* 00002 * PROGRAM RESPONSIBLE FOR open/close door. 00003 * ^^^^^^^ ^^^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^ 00004 * 00005 * FILE NAME: speed.cpp 00006 * USAGE: library file of speed.cpp 00007 */ 00008 00009 00010 /* 00011 * including the wanted library files. 00012 */ 00013 #include "mbed.h" 00014 00015 /*function prototype*/ 00016 void motor (float speed, int time); 00017 void motor_update (void); 00018 void motor_start (void);
Generated on Sat Jul 16 2022 02:23:42 by 1.7.2