summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/scilab-arduino/includes
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/src/c/scilab-arduino/includes')
-rw-r--r--2.3-1/src/c/scilab-arduino/includes/cmd_analog_in_volt.h28
-rw-r--r--2.3-1/src/c/scilab-arduino/includes/cmd_analog_out_volt.h27
-rw-r--r--2.3-1/src/c/scilab-arduino/includes/cmd_dcmotor_release.h30
-rw-r--r--2.3-1/src/c/scilab-arduino/includes/cmd_dcmotor_run.h2
-rw-r--r--2.3-1/src/c/scilab-arduino/includes/cmd_dcmotor_setup.h2
-rw-r--r--2.3-1/src/c/scilab-arduino/includes/cmd_i2c_dev.h16
-rw-r--r--2.3-1/src/c/scilab-arduino/includes/cmd_i2c_read.h16
-rw-r--r--2.3-1/src/c/scilab-arduino/includes/cmd_i2c_read_register.h16
-rw-r--r--2.3-1/src/c/scilab-arduino/includes/cmd_i2c_write.h16
-rw-r--r--2.3-1/src/c/scilab-arduino/includes/cmd_i2c_write_register.h16
10 files changed, 2 insertions, 167 deletions
diff --git a/2.3-1/src/c/scilab-arduino/includes/cmd_analog_in_volt.h b/2.3-1/src/c/scilab-arduino/includes/cmd_analog_in_volt.h
deleted file mode 100644
index ec471426..00000000
--- a/2.3-1/src/c/scilab-arduino/includes/cmd_analog_in_volt.h
+++ /dev/null
@@ -1,28 +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 __CMD_ANALOG_IN_VOLT_H__
-#define __CMD_ANALOG_IN_VOLT_H__
-
-#include "types.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-float u8cmd_analog_in_volts(uint8 board_no, uint8 pin);
-
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
-#endif /* __CMD_ANALOG_IN_VOLT_H__ */
diff --git a/2.3-1/src/c/scilab-arduino/includes/cmd_analog_out_volt.h b/2.3-1/src/c/scilab-arduino/includes/cmd_analog_out_volt.h
deleted file mode 100644
index 51580fbb..00000000
--- a/2.3-1/src/c/scilab-arduino/includes/cmd_analog_out_volt.h
+++ /dev/null
@@ -1,27 +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 __CMD_ANALOG_OUT_VOLT_H__
-#define __CMD_ANALOG_OUT_VOLT_H__
-
-#include "types.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-void u8cmd_analog_out_volts(uint8 board_no, uint8 pin, float value);
-
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
-#endif /* __CMD_ANALOG_OUT_VOLT_H__ */
diff --git a/2.3-1/src/c/scilab-arduino/includes/cmd_dcmotor_release.h b/2.3-1/src/c/scilab-arduino/includes/cmd_dcmotor_release.h
deleted file mode 100644
index d185fb5e..00000000
--- a/2.3-1/src/c/scilab-arduino/includes/cmd_dcmotor_release.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 __CMD_DCMOTOR_RELEASE_H__
-#define __CMD_DCMOTOR_RELEASE_H__
-
-#include "types.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-extern uint8 dcm_pin_1[4], dcm_pin_2[4], dcm_mode[4];
-
-void u8cmd_dcmotor_releases(uint8 board_no, uint8 motor_no);
-
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
-#endif /* __CMD_DCMOTOR_RELEASE_H__ */
diff --git a/2.3-1/src/c/scilab-arduino/includes/cmd_dcmotor_run.h b/2.3-1/src/c/scilab-arduino/includes/cmd_dcmotor_run.h
index 1b5d41c1..2b69c99b 100644
--- a/2.3-1/src/c/scilab-arduino/includes/cmd_dcmotor_run.h
+++ b/2.3-1/src/c/scilab-arduino/includes/cmd_dcmotor_run.h
@@ -22,7 +22,7 @@ extern "C" {
extern uint8 dcm_pin_1[4], dcm_pin_2[4], dcm_mode[4];
-void u8cmd_dcmotor_runs(uint8 board_no, uint8 motor_no, int16 duty);
+void u8cmd_dc_motor_runs(uint8 board_no, uint8 motor_no, int16 duty);
#ifdef __cplusplus
} /* extern "C" */
diff --git a/2.3-1/src/c/scilab-arduino/includes/cmd_dcmotor_setup.h b/2.3-1/src/c/scilab-arduino/includes/cmd_dcmotor_setup.h
index 45854ffb..cecd4659 100644
--- a/2.3-1/src/c/scilab-arduino/includes/cmd_dcmotor_setup.h
+++ b/2.3-1/src/c/scilab-arduino/includes/cmd_dcmotor_setup.h
@@ -22,7 +22,7 @@ extern "C" {
extern uint8 dcm_pin_1[4], dcm_pin_2[4], dcm_mode[4];
-void u8cmd_dcmotor_setups(uint8 board_no, uint8 driver_type, uint8 motor_no,\
+void u8cmd_dc_motor_setups(uint8 board_no, uint8 driver_type, uint8 motor_no,\
uint8 pin_1, uint8 pin_2);
#ifdef __cplusplus
diff --git a/2.3-1/src/c/scilab-arduino/includes/cmd_i2c_dev.h b/2.3-1/src/c/scilab-arduino/includes/cmd_i2c_dev.h
deleted file mode 100644
index 861a8e7b..00000000
--- a/2.3-1/src/c/scilab-arduino/includes/cmd_i2c_dev.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef __CMD_I2C_DEV_H__
-#define __CMD_I2C_DEV_H__
-
-#include "types.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-uint8 u8cmd_i2c_devs(uint8 address);
-
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
-#endif /* __CMD_I2C_DEV_H__ */
diff --git a/2.3-1/src/c/scilab-arduino/includes/cmd_i2c_read.h b/2.3-1/src/c/scilab-arduino/includes/cmd_i2c_read.h
deleted file mode 100644
index 791bdd38..00000000
--- a/2.3-1/src/c/scilab-arduino/includes/cmd_i2c_read.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef __CMD_I2C_READ_H__
-#define __CMD_I2C_READ_H__
-
-#include "types.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-float u8cmd_i2c_reads(uint8 address, uint8 bytes);
-
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
-#endif /* __CMD_I2C_READ_H__ */
diff --git a/2.3-1/src/c/scilab-arduino/includes/cmd_i2c_read_register.h b/2.3-1/src/c/scilab-arduino/includes/cmd_i2c_read_register.h
deleted file mode 100644
index ea203adf..00000000
--- a/2.3-1/src/c/scilab-arduino/includes/cmd_i2c_read_register.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef __CMD_I2C_READ_REGISTER_H__
-#define __CMD_I2C_READ_REGISTER_H__
-
-#include "types.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-uint16 u8cmd_i2c_read_registers(uint8 address, uint8 reg_adrs);
-
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
-#endif /* __CMD_I2C_READ_REGISTER_H__ */
diff --git a/2.3-1/src/c/scilab-arduino/includes/cmd_i2c_write.h b/2.3-1/src/c/scilab-arduino/includes/cmd_i2c_write.h
deleted file mode 100644
index 6a57222b..00000000
--- a/2.3-1/src/c/scilab-arduino/includes/cmd_i2c_write.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef __CMD_I2C_WRITE_H__
-#define __CMD_I2C_WRITE_H__
-
-#include "types.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-void u8cmd_i2c_writes(uint8 address, uint8 data);
-
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
-#endif /* __CMD_I2C_WRITE_H__ */
diff --git a/2.3-1/src/c/scilab-arduino/includes/cmd_i2c_write_register.h b/2.3-1/src/c/scilab-arduino/includes/cmd_i2c_write_register.h
deleted file mode 100644
index ff1b9ec0..00000000
--- a/2.3-1/src/c/scilab-arduino/includes/cmd_i2c_write_register.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef __CMD_I2C_WRITE_REGISTER_H__
-#define __CMD_I2C_WRITE_REGISTER_H__
-
-#include "types.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-void u8cmd_i2c_write_registers(uint8 address, uint8 reg_adrs, uint8 data);
-
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
-#endif /* __CMD_I2C_WRITE_REGISTER_H__ */