Changes

Jump to: navigation, search

GRBL

972 bytes added, 20:04, 5 May 2016
Storing Home
</syntaxhighlight>
**NOTE: replace <code>~/Downloads</code> with the full path where you downloaded GRBL.
*Compile GRBL. In the grbl-master director, type: <codesyntaxhighlight lang="bash">make</codesyntaxhighlight>. GRBL should compile.
*Upload GRBL to the arduino. From the grbl-master directory, run:
<syntaxhighlight lang="bash">
</pre>
https://github.com/grbl/grbl/blob/master/config.h#L194
==Storing Home==
# Home: <syntaxhighlight lang="bash">$H</syntaxhighlight>
# Query position: <syntaxhighlight lang="bash">?</syntaxhighlight> response <syntaxhighlight lang="bash"><Idle,MPos:0.000,199.800,0.000,WPos:0.000,0.002,0.000></syntaxhighlight>
# Store home (using X and Y from query, 0 and 199.8 in the example above): <syntaxhighlight lang="bash">G10L2P0X0Y199.8</syntaxhighlight>
# Query again to check that it worked: <syntaxhighlight lang="bash">?</syntaxhighlight> WPos should be 0,0,0 <syntaxhighlight lang="bash"><Idle,MPos:0.000,199.800,0.000,WPos:0.000,0.000,0.000></syntaxhighlight>
 
=GIKFUN wch340 serial=
*disable system integrity protection:
**boot into recovery: CMD-r
**open terminal
**run:
<syntaxhighlight lang="bash">csrutil disable</syntaxhighlight>
*install driver http://www.wch.cn/download/CH341SER_MAC_ZIP.html
reference: https://tzapu.com/making-ch340-ch341-serial-adapters-work-under-el-capitan-os-x/

Navigation menu