diff options
author | siddhu8990 | 2015-09-07 23:06:39 +0530 |
---|---|---|
committer | siddhu8990 | 2015-09-07 23:06:39 +0530 |
commit | 44933d55cfbfbbdafbd17cae6212579cb2621bcc (patch) | |
tree | 6512c89ad9ae168ae1de7cb6bd1eed2909ed5735 /2.3-1/src/c/scilab-arduino/cmd_analog_out | |
parent | d9d5e15f5b836cecaebe68f823318ed6637554b4 (diff) | |
parent | 4aabac04457969b9288f1d49292ab758ece2448f (diff) | |
download | Scilab2C-44933d55cfbfbbdafbd17cae6212579cb2621bcc.tar.gz Scilab2C-44933d55cfbfbbdafbd17cae6212579cb2621bcc.tar.bz2 Scilab2C-44933d55cfbfbbdafbd17cae6212579cb2621bcc.zip |
Scilab to arduino conversion working with some tweaks
Diffstat (limited to '2.3-1/src/c/scilab-arduino/cmd_analog_out')
-rw-r--r-- | 2.3-1/src/c/scilab-arduino/cmd_analog_out/u8cmd_analog_outs.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/2.3-1/src/c/scilab-arduino/cmd_analog_out/u8cmd_analog_outs.c b/2.3-1/src/c/scilab-arduino/cmd_analog_out/u8cmd_analog_outs.c new file mode 100644 index 00000000..94d51f6f --- /dev/null +++ b/2.3-1/src/c/scilab-arduino/cmd_analog_out/u8cmd_analog_outs.c @@ -0,0 +1,20 @@ +/* + * 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 + * + */ + +#include "cmd_analog_out.h" + +uint8 u8cmd_analog_outs(uint8 board_no, uint8 pin, uint8 value) +{ + analogWrite(pin,value); + return 0; +} + |