diff options
Diffstat (limited to 'tests/unit_tests/testArduino/board_test_release2.sci')
-rw-r--r-- | tests/unit_tests/testArduino/board_test_release2.sci | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/unit_tests/testArduino/board_test_release2.sci b/tests/unit_tests/testArduino/board_test_release2.sci new file mode 100644 index 0000000..fd21cff --- /dev/null +++ b/tests/unit_tests/testArduino/board_test_release2.sci @@ -0,0 +1,11 @@ +function board_test_release2() + cmd_dcmotor_setup(1,3,1,9,10) + cmd_dcmotor_run(1,1,255) + sleep(3000) + cmd_dcmotor_release(1,1) + sleep(3000) + cmd_dcmotor_run(1,1,-255) + sleep(3000) + cmd_dcmotor_release(1,1) + sleep(3000) +endfunction |