Skip to content

Commit

Permalink
portTest works
Browse files Browse the repository at this point in the history
  • Loading branch information
balajisriram committed May 7, 2018
1 parent 2c1193f commit 805d5c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/parallelPort/portTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
end

t=closed;
t(valves(codes(cellfun(@KbName,{'1!' '2@' '3#'}))))='1';
t(valves(logical(codes(cellfun(@KbName,{'1!' '2@' '3#'})))))='1';
% t(valves(codes(cellfun(@KbName,{'1!' '2@' '3#'})) | out(sensors)))='1';
lptwrite(hex2dec(addr),bin2dec(t));
end
Expand Down

0 comments on commit 805d5c1

Please sign in to comment.