From 0bdaec9811b3e463514393aa1d3da6c3a96891a1 Mon Sep 17 00:00:00 2001 From: siddhu8990 Date: Mon, 7 Sep 2015 21:27:00 +0530 Subject: Changes made for arduino support --- src/c/scilab-arduino/includes/cmd_analog_out.h | 29 ++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/c/scilab-arduino/includes/cmd_analog_out.h (limited to 'src/c/scilab-arduino/includes/cmd_analog_out.h') diff --git a/src/c/scilab-arduino/includes/cmd_analog_out.h b/src/c/scilab-arduino/includes/cmd_analog_out.h new file mode 100644 index 00000000..d7fca535 --- /dev/null +++ b/src/c/scilab-arduino/includes/cmd_analog_out.h @@ -0,0 +1,29 @@ +/* + * 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_ANALOG_OUT_H__ +#define __CMD_ANALOG_OUT_H__ + +#include "types.h" + +#ifdef __cplusplus +extern "C" { +#endif + +uint8 u8cmd_analog_outs(uint8 board_no, uint8 pin, uint8 value); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /* __CMD_ANALOG_OUT_H__ */ -- cgit From 9f6b12fae887eb141b6afd0fc56c7367c82efb70 Mon Sep 17 00:00:00 2001 From: siddhu8990 Date: Thu, 10 Sep 2015 22:51:03 +0530 Subject: Arduino digital and analog out working --- src/c/scilab-arduino/includes/cmd_analog_out.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/c/scilab-arduino/includes/cmd_analog_out.h') diff --git a/src/c/scilab-arduino/includes/cmd_analog_out.h b/src/c/scilab-arduino/includes/cmd_analog_out.h index d7fca535..e75c5a66 100644 --- a/src/c/scilab-arduino/includes/cmd_analog_out.h +++ b/src/c/scilab-arduino/includes/cmd_analog_out.h @@ -15,6 +15,7 @@ #define __CMD_ANALOG_OUT_H__ #include "types.h" +#include "Arduino.h" #ifdef __cplusplus extern "C" { -- cgit From ee5bf4d90f78673d1e4d5a9dd304ee53c503c085 Mon Sep 17 00:00:00 2001 From: imushir Date: Tue, 9 Feb 2016 16:38:27 +0530 Subject: Support for Servo motor for Arduino. Support for'diag' in c --- src/c/scilab-arduino/includes/cmd_analog_out.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/c/scilab-arduino/includes/cmd_analog_out.h') diff --git a/src/c/scilab-arduino/includes/cmd_analog_out.h b/src/c/scilab-arduino/includes/cmd_analog_out.h index e75c5a66..a0da68e1 100644 --- a/src/c/scilab-arduino/includes/cmd_analog_out.h +++ b/src/c/scilab-arduino/includes/cmd_analog_out.h @@ -15,8 +15,6 @@ #define __CMD_ANALOG_OUT_H__ #include "types.h" -#include "Arduino.h" - #ifdef __cplusplus extern "C" { #endif -- cgit From 52de97290366abe6cfb0576ca19d9c1732c1f0ea Mon Sep 17 00:00:00 2001 From: siddhu8990 Date: Tue, 18 Oct 2016 10:31:23 +0530 Subject: Suppressed declaration of not required variables and functions --- src/c/scilab-arduino/includes/cmd_analog_out.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/c/scilab-arduino/includes/cmd_analog_out.h') diff --git a/src/c/scilab-arduino/includes/cmd_analog_out.h b/src/c/scilab-arduino/includes/cmd_analog_out.h index a0da68e1..5f9e5272 100644 --- a/src/c/scilab-arduino/includes/cmd_analog_out.h +++ b/src/c/scilab-arduino/includes/cmd_analog_out.h @@ -19,7 +19,7 @@ extern "C" { #endif -uint8 u8cmd_analog_outs(uint8 board_no, uint8 pin, uint8 value); +void u8cmd_analog_outs(uint8 board_no, uint8 pin, uint8 value); #ifdef __cplusplus } /* extern "C" */ -- cgit From 453598b49cb3d4a62b1797dbc90f0e3dd4521329 Mon Sep 17 00:00:00 2001 From: siddhu8990 Date: Wed, 19 Apr 2017 11:56:09 +0530 Subject: Copyright message updated in added files and libraries separated in 'thirdparty' folder --- src/c/scilab-arduino/includes/cmd_analog_out.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/c/scilab-arduino/includes/cmd_analog_out.h') diff --git a/src/c/scilab-arduino/includes/cmd_analog_out.h b/src/c/scilab-arduino/includes/cmd_analog_out.h index 5f9e5272..54e51f59 100644 --- a/src/c/scilab-arduino/includes/cmd_analog_out.h +++ b/src/c/scilab-arduino/includes/cmd_analog_out.h @@ -1,14 +1,14 @@ -/* - * 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 - * - */ +/* Copyright (C) 2016 - 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: Siddhesh Wani + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ #ifndef __CMD_ANALOG_OUT_H__ -- cgit