diff options
author | Sandeep Gupta | 2017-07-05 12:41:25 +0530 |
---|---|---|
committer | Sandeep Gupta | 2017-07-05 12:41:25 +0530 |
commit | 06337f0dc8114c70fd0c7767083971a0d091750a (patch) | |
tree | 446481550ba88e6e0f7df2db7fdc66d2016ee2f1 /src/c/scilab-arduino/interfaces | |
parent | c2e305c3b82ed944d57402dd515b3d5839a31980 (diff) | |
download | Scilab2C_fossee_old-06337f0dc8114c70fd0c7767083971a0d091750a.tar.gz Scilab2C_fossee_old-06337f0dc8114c70fd0c7767083971a0d091750a.tar.bz2 Scilab2C_fossee_old-06337f0dc8114c70fd0c7767083971a0d091750a.zip |
LinearAlgebra and MatrixOperation Update
Diffstat (limited to 'src/c/scilab-arduino/interfaces')
8 files changed, 4 insertions, 158 deletions
diff --git a/src/c/scilab-arduino/interfaces/int_cmd_analog_in_volt.h b/src/c/scilab-arduino/interfaces/int_cmd_analog_in_volt.h deleted file mode 100644 index e8fe65d..0000000 --- a/src/c/scilab-arduino/interfaces/int_cmd_analog_in_volt.h +++ /dev/null @@ -1,30 +0,0 @@ -/* Copyright (C) 2017 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Yash Pratap Singh Tomar - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - - -#ifndef __INT_CMD_ANALOG_IN_VOLT_H__ -#define __INT_CMD_ANALOG_IN_VOLT_H__ - -#include "types.h" - -#ifdef __cplusplus -extern "C" { -#endif - -#define d0d0cmd_analog_in_volts0(in1,in2) u8cmd_analog_in_volts((uint8)in1,(uint8)in2) - - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#endif /* __INT_CMD_ANALOG_IN_VOLT_H__ */ diff --git a/src/c/scilab-arduino/interfaces/int_cmd_analog_out_volt.h b/src/c/scilab-arduino/interfaces/int_cmd_analog_out_volt.h deleted file mode 100644 index 283f8fa..0000000 --- a/src/c/scilab-arduino/interfaces/int_cmd_analog_out_volt.h +++ /dev/null @@ -1,30 +0,0 @@ -/* Copyright (C) 2017 - IIT Bombay - FOSSEE - - This file must be used under the terms of the CeCILL. - This source file is licensed as described in the file COPYING, which - you should have received as part of this distribution. The terms - are also available at - http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt - Author: Yash Pratap Singh Tomar - Organization: FOSSEE, IIT Bombay - Email: toolbox@scilab.in -*/ - -#ifndef __INT_CMD_ANALOG_OUT_VOLT_H__ -#define __INT_CMD_ANALOG_OUT_VOLT_H__ - -#include "types.h" - -#ifdef __cplusplus -extern "C" { -#endif - -#define d0d0d0cmd_analog_out_volt(in1,in2,in3) u8cmd_analog_out_volts((uint8)in1,(uint8)in2,(float)in3) - -#define d0d0s0cmd_analog_out_volt(in1,in2,in3) u8cmd_analog_out_volts((uint8)in1,(uint8)in2,(float)in3) - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#endif /* __INT_CMD_ANALOG_OUT_VOLT_H__ */ diff --git a/src/c/scilab-arduino/interfaces/int_cmd_dcmotor.h b/src/c/scilab-arduino/interfaces/int_cmd_dcmotor.h index d465ff6..61e0d2e 100644 --- a/src/c/scilab-arduino/interfaces/int_cmd_dcmotor.h +++ b/src/c/scilab-arduino/interfaces/int_cmd_dcmotor.h @@ -6,7 +6,6 @@ are also available at http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt Author: Siddhesh Wani - Revised by: Yash Pratap Singh Tomar Organization: FOSSEE, IIT Bombay Email: toolbox@scilab.in */ @@ -21,16 +20,16 @@ extern "C" { #endif -#define d0d0d0d0d0cmd_dcmotor_setup(in1,in2,in3,in4,in5) u8cmd_dcmotor_setups((uint8)in1,(uint8)in2,(uint8)in3,(uint8)in4,(uint8)in5) +#define d0d0d0d0d0cmd_dcmotor_setup(in1,in2,in3,in4,in5)\ + u8cmd_dcmotor_setups((uint8)in1,(uint8)in2,(uint8)in3,\ + (uint8)in4,(uint8)in5) #define d0d0d0cmd_dcmotor_run(in1,in2,in3) u8cmd_dcmotor_runs((uint8)in1,\ (uint8)in2, (int16)in3); #define d0d0u160cmd_dcmotor_run(in1,in2,in3) u8cmd_dcmotor_runs((uint8)in1,\ - (uint8)in2, (int16)in3); - -#define d0d0cmd_dcmotor_release(in1,in2) u8cmd_dcmotor_releases((uint8)in1,(uint8)in2) + (uint8)in2, (int16)in3); #ifdef __cplusplus diff --git a/src/c/scilab-arduino/interfaces/int_cmd_i2c_dev.h b/src/c/scilab-arduino/interfaces/int_cmd_i2c_dev.h deleted file mode 100644 index c4d93d7..0000000 --- a/src/c/scilab-arduino/interfaces/int_cmd_i2c_dev.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef __INT_CMD_I2C_DEV_H__ -#define __INT_CMD_I2C_DEV_H__ - -#include "types.h" - -#ifdef __cplusplus -extern "C" { -#endif - -#define d0cmd_i2c_devu80(in1) u8cmd_i2c_devs((uint8)in1) - - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#endif /* __INT_CMD_I2C_DEV_H__ */ diff --git a/src/c/scilab-arduino/interfaces/int_cmd_i2c_read.h b/src/c/scilab-arduino/interfaces/int_cmd_i2c_read.h deleted file mode 100644 index b0633a0..0000000 --- a/src/c/scilab-arduino/interfaces/int_cmd_i2c_read.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef __INT_CMD_I2C_READ_H__ -#define __INT_CMD_I2C_READ_H__ - -#include "types.h" - -#ifdef __cplusplus -extern "C" { -#endif - -#define d0d0cmd_i2c_reads0(in1, in2) u8cmd_i2c_reads((uint8)in1, (uint8)in2) - -#define u80d0cmd_i2c_reads0(in1, in2) u8cmd_i2c_reads((uint8)in1, (uint8)in2) - - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#endif /* __INT_CMD_I2C_READ_H__ */ diff --git a/src/c/scilab-arduino/interfaces/int_cmd_i2c_read_register.h b/src/c/scilab-arduino/interfaces/int_cmd_i2c_read_register.h deleted file mode 100644 index 5f4c529..0000000 --- a/src/c/scilab-arduino/interfaces/int_cmd_i2c_read_register.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef __INT_CMD_I2C_READ_REGISTER_H__ -#define __INT_CMD_I2C_READ_REGISTER_H__ - -#include "types.h" - -#ifdef __cplusplus -extern "C" { -#endif - -#define d0d0cmd_i2c_read_registeru160(in1, in2) u8cmd_i2c_read_registers((uint8)in1, (uint8)in2) - -#define u80d0cmd_i2c_read_registeru160(in1, in2) u8cmd_i2c_read_registers((uint8)in1, (uint8)in2) - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#endif /* __INT_CMD_I2C_READ_REGISTER_H__ */ diff --git a/src/c/scilab-arduino/interfaces/int_cmd_i2c_write.h b/src/c/scilab-arduino/interfaces/int_cmd_i2c_write.h deleted file mode 100644 index a7705a8..0000000 --- a/src/c/scilab-arduino/interfaces/int_cmd_i2c_write.h +++ /dev/null @@ -1,20 +0,0 @@ -#ifndef __INT_CMD_I2C_WRITE_H__ -#define __INT_CMD_I2C_WRITE_H__ - -#include "types.h" - -#ifdef __cplusplus -extern "C" { -#endif - -#define d0d0cmd_i2c_write(in1, in2) u8cmd_i2c_writes((uint8)in1, (uint8)in2) - -#define u80d0cmd_i2c_write(in1, in2) u8cmd_i2c_writes((uint8)in1, (uint8)in2) - - - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#endif /* __INT_CMD_I2C_WRITE_H__ */ diff --git a/src/c/scilab-arduino/interfaces/int_cmd_i2c_write_register.h b/src/c/scilab-arduino/interfaces/int_cmd_i2c_write_register.h deleted file mode 100644 index 35c0527..0000000 --- a/src/c/scilab-arduino/interfaces/int_cmd_i2c_write_register.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef __INT_CMD_I2C_WRITE_REGISTER_H__ -#define __INT_CMD_I2C_WRITE_REGISTER_H__ - -#include "types.h" - -#ifdef __cplusplus -extern "C" { -#endif - -#define d0d0d0cmd_i2c_write_register(in1, in2, in3) u8cmd_i2c_write_registers((uint8)in1, (uint8)in2, (uint8)in3) - -#define u80d0d0cmd_i2c_write_register(in1, in2, in3) u8cmd_i2c_write_registers((uint8)in1, (uint8)in2, (uint8)in3) - - -#ifdef __cplusplus -} /* extern "C" */ -#endif - -#endif /* __INT_CMD_I2C_WRITE_REGISTER_H__ */ |