summaryrefslogtreecommitdiff
path: root/tests/unit_tests/testArduino/digital_in_check.sci
blob: 4dfbeb6eaf4f9e88b85695f171f36f1d4f70819c (plain)
1
2
3
4
5
6
7
8
9
10
function digital_in_check()
    a=cmd_digital_in(1,7)
    if a==1 then
        cmd_digital_out(1,13,1)
        cmd_digital_out(1,9,0)
    else
        cmd_digital_out(1,9,1)
	cmd_digital_out(1,13,0)
    end
endfunction