diff options
author | Brijeshcr | 2017-07-10 12:41:21 +0530 |
---|---|---|
committer | GitHub | 2017-07-10 12:41:21 +0530 |
commit | 2e9eadc75e51483c41a30544496b4e05c0cf7c41 (patch) | |
tree | 603cb29022e575db10ab26fbb75a5cc5bdf01ad8 /2.3-1/tests/unit_tests/testArduino/blink_13.sci | |
parent | 26ab8620e89571314bc1a828bd9aca3d288eaede (diff) | |
parent | 09d11751736a5812ebfc22cd488f51de02e5375a (diff) | |
download | Scilab2C-2e9eadc75e51483c41a30544496b4e05c0cf7c41.tar.gz Scilab2C-2e9eadc75e51483c41a30544496b4e05c0cf7c41.tar.bz2 Scilab2C-2e9eadc75e51483c41a30544496b4e05c0cf7c41.zip |
Merge pull request #14 from yash1112/master
Arduino toolbox error Resolved
Diffstat (limited to '2.3-1/tests/unit_tests/testArduino/blink_13.sci')
-rw-r--r-- | 2.3-1/tests/unit_tests/testArduino/blink_13.sci | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/2.3-1/tests/unit_tests/testArduino/blink_13.sci b/2.3-1/tests/unit_tests/testArduino/blink_13.sci new file mode 100644 index 00000000..37dc93fd --- /dev/null +++ b/2.3-1/tests/unit_tests/testArduino/blink_13.sci @@ -0,0 +1,6 @@ +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 |