diff options
Diffstat (limited to 'tests/unit_tests/testArduino/blink_13.sci')
-rw-r--r-- | tests/unit_tests/testArduino/blink_13.sci | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/unit_tests/testArduino/blink_13.sci b/tests/unit_tests/testArduino/blink_13.sci new file mode 100644 index 0000000..37dc93f --- /dev/null +++ b/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 |