8,367
edits
Changes
→PWM test method
<li><p>In the Linux system, the PWM in 40 PIN is closed by default, and it needs to be opened manually to use. The detailed steps are shown below:</p>
<ol style="list-style-type: lower-alpha;">
<li><p>First add the following configuration to > the'''/boot/extlinux/extlinux.conf'''</p>
{| class="wikitable" style="width:800px;"
|-
<!-- -->
<ol start="4" style="list-style-type: decimal;">
<li><p>After opening a pwm,In the'''/sys/class/pwm'''/, there will be an additional pwmchipX (x is a specific number). For example, after opening PWM14,viewing'''/sys/class/pwm/'''down Pwmchipx will change from two to three.</p>
{| class="wikitable" style="width:800px;"
|-