summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/scilab-arduino/includes
diff options
context:
space:
mode:
authorimushir2015-12-28 16:08:36 +0530
committerimushir2015-12-28 16:08:36 +0530
commita5ffe09fca6b245c7af5a1072a124492cfc3f1b9 (patch)
treeb7a3d16b8b4b5eeb67a5313032082a371cf76b5b /2.3-1/src/c/scilab-arduino/includes
parentb78d9ee3ae4c216c3b6bef13ba5637833381f529 (diff)
parent9bee3723b675d7ab65b757d38cf9c5938a63531a (diff)
downloadScilab2C-a5ffe09fca6b245c7af5a1072a124492cfc3f1b9.tar.gz
Scilab2C-a5ffe09fca6b245c7af5a1072a124492cfc3f1b9.tar.bz2
Scilab2C-a5ffe09fca6b245c7af5a1072a124492cfc3f1b9.zip
Merge branch 'master' of https://github.com/siddhu8990/Scilab2C
Fetching master
Diffstat (limited to '2.3-1/src/c/scilab-arduino/includes')
-rw-r--r--2.3-1/src/c/scilab-arduino/includes/cmd_dcmotor_run.h32
-rw-r--r--2.3-1/src/c/scilab-arduino/includes/cmd_dcmotor_setup.h33
2 files changed, 65 insertions, 0 deletions
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
new file mode 100644
index 00000000..7631761b
--- /dev/null
+++ b/2.3-1/src/c/scilab-arduino/includes/cmd_dcmotor_run.h
@@ -0,0 +1,32 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA - Arnaud TORSET
+ *
+ * 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
+ *
+ */
+
+
+#ifndef __CMD_DCMOTOR_RUN_H__
+#define __CMD_DCMOTOR_RUN_H__
+
+#include "types.h"
+#include "Arduino.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern uint8 dcm_pin_1[4], dcm_pin_2[4], dcm_mode[4];
+
+uint8 u8cmd_dc_motor_runs(uint8 board_no, uint8 motor_no, int16 duty);
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+#endif /* __CMD_DCMOTOR_SETUP_H__ */
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
new file mode 100644
index 00000000..94f5a161
--- /dev/null
+++ b/2.3-1/src/c/scilab-arduino/includes/cmd_dcmotor_setup.h
@@ -0,0 +1,33 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA - Arnaud TORSET
+ *
+ * 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
+ *
+ */
+
+
+#ifndef __CMD_DCMOTOR_SETUP_H__
+#define __CMD_DCMOTOR_SETUP_H__
+
+#include "types.h"
+#include "Arduino.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern uint8 dcm_pin_1[4], dcm_pin_2[4], dcm_mode[4];
+
+uint8 u8cmd_dc_motor_setups(uint8 board_no, uint8 driver_type, uint8 motor_no,\
+ uint8 pin_1, uint8 pin_2);
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+#endif /* __CMD_DCMOTOR_SETUP_H__ */