summaryrefslogtreecommitdiff
path: root/2.3-1/tests/unit_tests/testArduino/board_test_release2.sci
diff options
context:
space:
mode:
authorBrijeshcr2017-07-07 18:19:45 +0530
committerGitHub2017-07-07 18:19:45 +0530
commit5258fe20f21514eca1f7dc4ee384fe63c35c68a1 (patch)
treec0424024c16aa122a5a38686dfed75a4c4866e95 /2.3-1/tests/unit_tests/testArduino/board_test_release2.sci
parent8d1da9568248c9a0572da08a7039e75e84d782b0 (diff)
parenta505550d38b2b886c61863a85be67faf02ad604b (diff)
downloadScilab2C-5258fe20f21514eca1f7dc4ee384fe63c35c68a1.tar.gz
Scilab2C-5258fe20f21514eca1f7dc4ee384fe63c35c68a1.tar.bz2
Scilab2C-5258fe20f21514eca1f7dc4ee384fe63c35c68a1.zip
Merge pull request #12 from yash1112/master
SCi2cDeps updated, Windows compatibility resolved
Diffstat (limited to '2.3-1/tests/unit_tests/testArduino/board_test_release2.sci')
-rw-r--r--2.3-1/tests/unit_tests/testArduino/board_test_release2.sci11
1 files changed, 11 insertions, 0 deletions
diff --git a/2.3-1/tests/unit_tests/testArduino/board_test_release2.sci b/2.3-1/tests/unit_tests/testArduino/board_test_release2.sci
new file mode 100644
index 00000000..fd21cff7
--- /dev/null
+++ b/2.3-1/tests/unit_tests/testArduino/board_test_release2.sci
@@ -0,0 +1,11 @@
+function board_test_release2()
+ cmd_dcmotor_setup(1,3,1,9,10)
+ cmd_dcmotor_run(1,1,255)
+ sleep(3000)
+ cmd_dcmotor_release(1,1)
+ sleep(3000)
+ cmd_dcmotor_run(1,1,-255)
+ sleep(3000)
+ cmd_dcmotor_release(1,1)
+ sleep(3000)
+endfunction