diff options
author | yash1112 | 2017-07-07 22:34:47 +0530 |
---|---|---|
committer | yash1112 | 2017-07-07 22:34:47 +0530 |
commit | 2340409c98f9b15bb23944b991e97a1aa4e88ce0 (patch) | |
tree | 8fa462e65aca52e5e933dee026a78c31baf0181c /tests/unit_tests/testArduino/i2c_master.sci | |
parent | f577f255fd5c1d30bc770e9b053823ada8684528 (diff) | |
parent | 69c573fe2e59236f063aaa94dcd44b556f945cbc (diff) | |
download | Scilab2C_fossee_old-2340409c98f9b15bb23944b991e97a1aa4e88ce0.tar.gz Scilab2C_fossee_old-2340409c98f9b15bb23944b991e97a1aa4e88ce0.tar.bz2 Scilab2C_fossee_old-2340409c98f9b15bb23944b991e97a1aa4e88ce0.zip |
1.Sci2cDeps updated 2.Windows compatibility 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 0000000..2636185 --- /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
|