diff options
author | yash1112 | 2017-07-10 17:08:48 +0530 |
---|---|---|
committer | yash1112 | 2017-07-10 17:08:48 +0530 |
commit | 49d8281d2da2f4c6bf0e62d148a8a7328d3bf970 (patch) | |
tree | 8b555b3797807de0db3849f0d91664c12d785c9b /tests/unit_tests/testArduino/i2c_master.sci | |
parent | bd03b38be0918837e147e969c6bb2014900009db (diff) | |
download | scilab2c-49d8281d2da2f4c6bf0e62d148a8a7328d3bf970.tar.gz scilab2c-49d8281d2da2f4c6bf0e62d148a8a7328d3bf970.tar.bz2 scilab2c-49d8281d2da2f4c6bf0e62d148a8a7328d3bf970.zip |
Arduino toolbox error Resolved
Diffstat (limited to 'tests/unit_tests/testArduino/i2c_master.sci')
-rw-r--r-- | tests/unit_tests/testArduino/i2c_master.sci | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/unit_tests/testArduino/i2c_master.sci b/tests/unit_tests/testArduino/i2c_master.sci new file mode 100644 index 00000000..2636185a --- /dev/null +++ b/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
|