Deploying to gh-pages from @ Klipper3d/klipper@d3c4ba4839 🚀
This commit is contained in:
@@ -823,8 +823,8 @@
|
||||
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="Exclude_Object.md" class="md-nav__link">
|
||||
None
|
||||
<a href="Exclude_Object.html" class="md-nav__link">
|
||||
Exclude Objects
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@@ -1155,6 +1155,13 @@
|
||||
可選:啟用 SPI
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#optional-enabling-i2c" class="md-nav__link">
|
||||
Optional: Enabling I2C
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -1315,6 +1322,13 @@
|
||||
可選:啟用 SPI
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#optional-enabling-i2c" class="md-nav__link">
|
||||
Optional: Enabling I2C
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -1382,6 +1396,8 @@ sudo service klipper start
|
||||
<p>按照<a href="https://github.com/Klipper3d/klipper/blob/master/config/sample-raspberry-pi.cfg">RaspberryPi 參考配置</a>和<a href="https://github.com/Klipper3d/klipper/blob/master/config/sample-multi-mcu.cfg">多微控制器參考配置</a>中的說明配置Klipper 二級微控制器來完成安裝。</p>
|
||||
<h2 id="spi">可選:啟用 SPI<a class="headerlink" href="#spi" title="Permanent link">¶</a></h2>
|
||||
<p>通過執行<code>sudo raspi-config</code> 后的 "Interfacing options"菜單中啟用 SPI 以確保Linux SPI 驅動已啟用。</p>
|
||||
<h2 id="optional-enabling-i2c">Optional: Enabling I2C<a class="headerlink" href="#optional-enabling-i2c" title="Permanent link">¶</a></h2>
|
||||
<p>Make sure the Linux I2C driver is enabled by running <code>sudo raspi-config</code> and enabling I2C under the "Interfacing options" menu. If planning to use I2C for the MPU accelerometer, it is also required to set the baud rate to 400000 by: adding/uncommenting <code>dtparam=i2c_arm=on,i2c_arm_baudrate=400000</code> in <code>/boot/config.txt</code> (or <code>/boot/firmware/config.txt</code> in some distros).</p>
|
||||
<h2 id="gpiochip">可選步驟:識別正確的 gpiochip<a class="headerlink" href="#gpiochip" title="Permanent link">¶</a></h2>
|
||||
<p>On Raspberry Pi and on many clones the pins exposed on the GPIO belong to the first gpiochip. They can therefore be used on klipper simply by referring them with the name <code>gpio0..n</code>. However, there are cases in which the exposed pins belong to gpiochips other than the first. For example in the case of some OrangePi models or if a Port Expander is used. In these cases it is useful to use the commands to access the <em>Linux GPIO character device</em> to verify the configuration.</p>
|
||||
<p>要在基於 Debian 的發行版(如 OctoPi)上安裝 <em>Linux GPIO character device - binary</em>,請執行:</p>
|
||||
|
||||
Reference in New Issue
Block a user