summaryrefslogtreecommitdiff
path: root/2.3-1/tests/unit_tests/testArduino/i2c_master.sci
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/tests/unit_tests/testArduino/i2c_master.sci')
-rw-r--r--2.3-1/tests/unit_tests/testArduino/i2c_master.sci9
1 files changed, 9 insertions, 0 deletions
diff --git a/2.3-1/tests/unit_tests/testArduino/i2c_master.sci b/2.3-1/tests/unit_tests/testArduino/i2c_master.sci
new file mode 100644
index 00000000..2636185a
--- /dev/null
+++ b/2.3-1/tests/unit_tests/testArduino/i2c_master.sci
@@ -0,0 +1,9 @@
+function i2c_master()
+
+ dev1 = cmd_i2c_dev(1);
+ cmd_i2c_write(dev1,10);
+ sleep(1000);
+ cmd_i2c_write(dev1,9);
+ sleep(1000);
+
+endfunction