summaryrefslogtreecommitdiff
path: root/macros/Scilab-Arduino/GetArduinoFunctions.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/Scilab-Arduino/GetArduinoFunctions.sci')
-rw-r--r--macros/Scilab-Arduino/GetArduinoFunctions.sci22
1 files changed, 22 insertions, 0 deletions
diff --git a/macros/Scilab-Arduino/GetArduinoFunctions.sci b/macros/Scilab-Arduino/GetArduinoFunctions.sci
new file mode 100644
index 0000000..19d59ca
--- /dev/null
+++ b/macros/Scilab-Arduino/GetArduinoFunctions.sci
@@ -0,0 +1,22 @@
+function ArduinoFunctions = GetArduinoFunctions()
+// -----------------------------------------------------------------
+// Get list of Arduino functions supported
+//
+// Input data:
+// None
+//
+// Output data:
+// List of Arduino functions supported
+//
+// Author: Siddhesh Wani
+// -----------------------------------------------------------------
+
+ArduinoFunctions = [
+ "cmd_digital_out"
+ "cmd_digital_in"
+ "cmd_analog_out"
+ "cmd_analog_in"
+ "cmd_dcmotor_setup"
+ "cmd_dcmotor_run"];
+
+endfunction