summaryrefslogtreecommitdiff
path: root/2.3-1/tests
diff options
context:
space:
mode:
authorBrijeshcr2017-07-08 20:18:17 +0530
committerGitHub2017-07-08 20:18:17 +0530
commit39874e472e540ca1bb923b97b52900e1d60439cc (patch)
treee0f47fecb8b5d5e63491c7440d9ecc3072e5cd05 /2.3-1/tests
parent3adebb16388c6712f7d9c268b91849d164e696df (diff)
downloadScilab2C-39874e472e540ca1bb923b97b52900e1d60439cc.tar.gz
Scilab2C-39874e472e540ca1bb923b97b52900e1d60439cc.tar.bz2
Scilab2C-39874e472e540ca1bb923b97b52900e1d60439cc.zip
Revert "SCi2cDeps updated, Windows compatibility resolved"
Diffstat (limited to '2.3-1/tests')
-rw-r--r--2.3-1/tests/unit_tests/testArduino/analog_check.sci7
-rw-r--r--2.3-1/tests/unit_tests/testArduino/analog_in_check_volt.sci4
-rw-r--r--2.3-1/tests/unit_tests/testArduino/blink_13.sci6
-rw-r--r--2.3-1/tests/unit_tests/testArduino/board_test_release2.sci11
-rw-r--r--2.3-1/tests/unit_tests/testArduino/digital_in_check.sci10
-rw-r--r--2.3-1/tests/unit_tests/testArduino/i2c_master.sci9
6 files changed, 0 insertions, 47 deletions
diff --git a/2.3-1/tests/unit_tests/testArduino/analog_check.sci b/2.3-1/tests/unit_tests/testArduino/analog_check.sci
deleted file mode 100644
index 779f5b7f..00000000
--- a/2.3-1/tests/unit_tests/testArduino/analog_check.sci
+++ /dev/null
@@ -1,7 +0,0 @@
-function analog_check()
- cmd_analog_out(1,3,50)
- cmd_analog_out(1,5,100)
- cmd_analog_out(1,6,175)
- cmd_analog_out(1,9,255)
-
-endfunction
diff --git a/2.3-1/tests/unit_tests/testArduino/analog_in_check_volt.sci b/2.3-1/tests/unit_tests/testArduino/analog_in_check_volt.sci
deleted file mode 100644
index 16e79054..00000000
--- a/2.3-1/tests/unit_tests/testArduino/analog_in_check_volt.sci
+++ /dev/null
@@ -1,4 +0,0 @@
-function analog_in_check_volt()
- val = cmd_analog_in_volt(1,0)
- cmd_analog_out_volt(1,6,val)
-endfunction
diff --git a/2.3-1/tests/unit_tests/testArduino/blink_13.sci b/2.3-1/tests/unit_tests/testArduino/blink_13.sci
deleted file mode 100644
index 37dc93fd..00000000
--- a/2.3-1/tests/unit_tests/testArduino/blink_13.sci
+++ /dev/null
@@ -1,6 +0,0 @@
-function blink_13()
- cmd_digital_out(1,13,1) //--To turn on the LED on pin no. 13
- sleep(1000) //---delay of 1 second
- cmd_digital_out(1,13,0) //--To turn on the LED off pin no. 13
- sleep(1000) //---delay of 1 second
-endfunction
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
deleted file mode 100644
index fd21cff7..00000000
--- a/2.3-1/tests/unit_tests/testArduino/board_test_release2.sci
+++ /dev/null
@@ -1,11 +0,0 @@
-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
diff --git a/2.3-1/tests/unit_tests/testArduino/digital_in_check.sci b/2.3-1/tests/unit_tests/testArduino/digital_in_check.sci
deleted file mode 100644
index 4dfbeb6e..00000000
--- a/2.3-1/tests/unit_tests/testArduino/digital_in_check.sci
+++ /dev/null
@@ -1,10 +0,0 @@
-function digital_in_check()
- a=cmd_digital_in(1,7)
- if a==1 then
- cmd_digital_out(1,13,1)
- cmd_digital_out(1,9,0)
- else
- cmd_digital_out(1,9,1)
- cmd_digital_out(1,13,0)
- end
-endfunction
diff --git a/2.3-1/tests/unit_tests/testArduino/i2c_master.sci b/2.3-1/tests/unit_tests/testArduino/i2c_master.sci
deleted file mode 100644
index 2636185a..00000000
--- a/2.3-1/tests/unit_tests/testArduino/i2c_master.sci
+++ /dev/null
@@ -1,9 +0,0 @@
-function i2c_master()
-
- dev1 = cmd_i2c_dev(1);
- cmd_i2c_write(dev1,10);
- sleep(1000);
- cmd_i2c_write(dev1,9);
- sleep(1000);
-
-endfunction