From 06337f0dc8114c70fd0c7767083971a0d091750a Mon Sep 17 00:00:00 2001 From: Sandeep Gupta Date: Wed, 5 Jul 2017 12:41:25 +0530 Subject: LinearAlgebra and MatrixOperation Update --- .../interfaces/int_cmd_analog_in_volt.h | 30 ---------------------- .../interfaces/int_cmd_analog_out_volt.h | 30 ---------------------- src/c/scilab-arduino/interfaces/int_cmd_dcmotor.h | 9 +++---- src/c/scilab-arduino/interfaces/int_cmd_i2c_dev.h | 17 ------------ src/c/scilab-arduino/interfaces/int_cmd_i2c_read.h | 19 -------------- .../interfaces/int_cmd_i2c_read_register.h | 18 ------------- .../scilab-arduino/interfaces/int_cmd_i2c_write.h | 20 --------------- .../interfaces/int_cmd_i2c_write_register.h | 19 -------------- 8 files changed, 4 insertions(+), 158 deletions(-) delete mode 100644 src/c/scilab-arduino/interfaces/int_cmd_analog_in_volt.h delete mode 100644 src/c/scilab-arduino/interfaces/int_cmd_analog_out_volt.h delete mode 100644 src/c/scilab-arduino/interfaces/int_cmd_i2c_dev.h delete mode 100644 src/c/scilab-arduino/interfaces/int_cmd_i2c_read.h delete mode 100644 src/c/scilab-arduino/interfaces/int_cmd_i2c_read_register.h delete mode 100644 src/c/scilab-arduino/interfaces/int_cmd_i2c_write.h delete mode 100644 src/c/scilab-arduino/interfaces/int_cmd_i2c_write_register.h (limited to 'src/c/scilab-arduino/interfaces') 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__ */ -- cgit