Skip to content

Commit

Permalink
add comment showing example of what the motion command will look like.
Browse files Browse the repository at this point in the history
  • Loading branch information
raacampbell committed Jun 5, 2015
1 parent 566c769 commit 6a36541
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion serialInterfaceScripts/MATLAB/OS_beep.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@


fwrite(OS,'b')

4 changes: 2 additions & 2 deletions serialInterfaceScripts/MATLAB/OS_goto.m
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ function OS_goto(coords,motionType,nAxes)

AX=repmat('%d,',1,nAxes);
AX(end)='$';
str=sprintf(['g%s',AX], motionType, coords);
fwrite(OS,str)
str=sprintf(['g%s',AX], motionType, coords);
fwrite(OS,str) %e.g. str will be something like 'ga300,300,300$'



Expand Down

0 comments on commit 6a36541

Please sign in to comment.