Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:applications:gpio:pwm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:common:applications:gpio:pwm [2026/09/15 03:25]
nick
products:sbc:common:applications:gpio:pwm [2026/09/15 03:25] (current)
nick [Control PWM]
Line 132: Line 132:
 device  export  npwm  power  subsystem  uevent  unexport device  export  npwm  power  subsystem  uevent  unexport
 ``` ```
-<tabbox VIM 5>+<tabbox VIM-5>
  
 Edit ''/boot/dtb/amlogic/kvim-5.dtb.overlay.env'' to add pwm node to ''fdt_overlays'' node if it doesn't exist. Edit ''/boot/dtb/amlogic/kvim-5.dtb.overlay.env'' to add pwm node to ''fdt_overlays'' node if it doesn't exist.
Line 252: Line 252:
 ``` ```
  
-<tabbox VIM 5> +<tabbox VIM-5> 
  
 ```shell ```shell
Line 287: Line 287:
 echo 0 | sudo tee /sys/class/pwm/pwmchip0/pwm1/enable echo 0 | sudo tee /sys/class/pwm/pwmchip0/pwm1/enable
 ``` ```
-<tabbox VIM 5> +<tabbox VIM-5> 
 ```shell ```shell
 set -- /sys/bus/platform/devices/fe058400.pwm/pwm/pwmchip* set -- /sys/bus/platform/devices/fe058400.pwm/pwm/pwmchip*
Last modified: 2026/09/15 03:25 by nick