diff options
author | Siddhesh Wani | 2017-06-20 14:50:21 +0530 |
---|---|---|
committer | GitHub | 2017-06-20 14:50:21 +0530 |
commit | 2859e00d3f1da2d4b5b47514161bf0c63fcef83f (patch) | |
tree | 42fc74d21d1506f2e69359f4083e2d17b4328394 /2.3-1/macros/Scilab-Arduino/IsArduinoSetupFunction.sci | |
parent | 02a004ea1500c403ac1a18a52aaf79aaeb7280ed (diff) | |
parent | 3121a1f5a8203bfd14d46f71930ac5cd22afdf7d (diff) | |
download | Scilab2C-2859e00d3f1da2d4b5b47514161bf0c63fcef83f.tar.gz Scilab2C-2859e00d3f1da2d4b5b47514161bf0c63fcef83f.tar.bz2 Scilab2C-2859e00d3f1da2d4b5b47514161bf0c63fcef83f.zip |
Merge pull request #6 from yash1112/master
Merged with Yash's work. GUI updated for selecting Arduino boards. More functions for Arduino added.
Diffstat (limited to '2.3-1/macros/Scilab-Arduino/IsArduinoSetupFunction.sci')
-rw-r--r-- | 2.3-1/macros/Scilab-Arduino/IsArduinoSetupFunction.sci | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/2.3-1/macros/Scilab-Arduino/IsArduinoSetupFunction.sci b/2.3-1/macros/Scilab-Arduino/IsArduinoSetupFunction.sci index 3e1c18fb..4afceca8 100644 --- a/2.3-1/macros/Scilab-Arduino/IsArduinoSetupFunction.sci +++ b/2.3-1/macros/Scilab-Arduino/IsArduinoSetupFunction.sci @@ -9,6 +9,7 @@ // Email: toolbox@scilab.in function Output = IsArduinoSetupFunction(FunName) +disp(FunName) // ----------------------------------------------------------------- // Check whether input function name is an Arduino setup function or not. // @@ -25,6 +26,7 @@ function Output = IsArduinoSetupFunction(FunName) //Get list of supported functions for Arduino ArduinoSetupFunctions = GetArduinoSetupFunctions(); + //Check whether input function is present in above list or not FunNameInArduinoSetup = members(FunName,ArduinoSetupFunctions); Output = bool2s(FunNameInArduinoSetup~=0); |