diff options
author | imushir | 2016-02-09 16:38:27 +0530 |
---|---|---|
committer | imushir | 2016-02-09 16:38:27 +0530 |
commit | a6efab1a42eda8c1e3902c2f2d030a9cb9cfd25e (patch) | |
tree | 70d366ae6a84d201f23895071a8064068e77011f /2.3-1/src/c/scilab-arduino/includes/cmd_servo_move.h | |
parent | 7bc57b2061931e5b5843ac6616591b7cff9e9476 (diff) | |
download | Scilab2C-a6efab1a42eda8c1e3902c2f2d030a9cb9cfd25e.tar.gz Scilab2C-a6efab1a42eda8c1e3902c2f2d030a9cb9cfd25e.tar.bz2 Scilab2C-a6efab1a42eda8c1e3902c2f2d030a9cb9cfd25e.zip |
Support for Servo motor for Arduino. Support for'diag' in c
Diffstat (limited to '2.3-1/src/c/scilab-arduino/includes/cmd_servo_move.h')
-rw-r--r-- | 2.3-1/src/c/scilab-arduino/includes/cmd_servo_move.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/2.3-1/src/c/scilab-arduino/includes/cmd_servo_move.h b/2.3-1/src/c/scilab-arduino/includes/cmd_servo_move.h new file mode 100644 index 00000000..9013d3cc --- /dev/null +++ b/2.3-1/src/c/scilab-arduino/includes/cmd_servo_move.h @@ -0,0 +1,24 @@ +/* + Scilab2C FOSSEE IIT Bombay + */ + + +#ifndef __CMD_SERVO_MOVE_H__ +#define __CMD_SERVO_MOVE_H__ + +#include "types.h" +//#include<Servo.h> + +#ifdef __cplusplus +extern "C" { +#endif + +extern Servo servo1,servo2; + +uint8 u8cmd_servo_move(uint8 h, uint8 servo_no,uint8 val); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /* __CMD_DCMOTOR_SETUP_H__ */ |