diff options
author | imushir | 2016-02-09 16:38:27 +0530 |
---|---|---|
committer | imushir | 2016-02-09 16:38:27 +0530 |
commit | ee5bf4d90f78673d1e4d5a9dd304ee53c503c085 (patch) | |
tree | 696221a8f8a3dffeb50d12ea287dfbdfab919fc6 /src/c/scilab-arduino/includes/cmd_servo_attach.h | |
parent | 8ee41aca4183a0239b9cb220de3f159b1f0910fb (diff) | |
download | Scilab2C_fossee_old-ee5bf4d90f78673d1e4d5a9dd304ee53c503c085.tar.gz Scilab2C_fossee_old-ee5bf4d90f78673d1e4d5a9dd304ee53c503c085.tar.bz2 Scilab2C_fossee_old-ee5bf4d90f78673d1e4d5a9dd304ee53c503c085.zip |
Support for Servo motor for Arduino. Support for'diag' in c
Diffstat (limited to 'src/c/scilab-arduino/includes/cmd_servo_attach.h')
-rw-r--r-- | src/c/scilab-arduino/includes/cmd_servo_attach.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/c/scilab-arduino/includes/cmd_servo_attach.h b/src/c/scilab-arduino/includes/cmd_servo_attach.h new file mode 100644 index 0000000..5dd3ed6 --- /dev/null +++ b/src/c/scilab-arduino/includes/cmd_servo_attach.h @@ -0,0 +1,23 @@ +/* + Scilab2C FOSSEE IIT Bombay + */ + + +#ifndef __CMD_SERVO_ATTACH_H__ +#define __CMD_SERVO_ATTACH_H__ + +#include "types.h" +//#include <Servo.h> +#ifdef __cplusplus +extern "C" { +#endif + +extern Servo servo1,servo2; + +uint8 u8cmd_servo_attach(uint8 h, uint8 servo_no ); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /* __CMD_DCMOTOR_SETUP_H__ */ |