掌機 - Miyoo Mini Plus - PWM



# echo 4 > /sys/class/gpio/export
# echo 0 > /sys/class/pwm/pwmchip0/export
# echo 800 > /sys/class/pwm/pwmchip0/pwm0/period
# echo 100 > /sys/class/pwm/pwmchip0/pwm0/duty_cycle
# echo 1 > /sys/class/pwm/pwmchip0/pwm0/enable

# echo 10 > /sys/class/pwm/pwmchip0/pwm0/duty_cycle
# echo 80 > /sys/class/pwm/pwmchip0/pwm0/duty_cycle