summaryrefslogtreecommitdiff
path: root/2.3-1/tests/unit_tests/testArduino/blink_13.sci
diff options
context:
space:
mode:
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.sci6
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