I want to control PWM but I don't know how can I set it.

I use Debian 9.3    I try. ..

cd /sys/class/pwm/pwmchip0
echo $index > export
cd pwm$index
echo 1 > enable
echo 1000000000 > period   
echo  500000000 > duty_cycle   

but nothing happened . ..    and how do I know which PWMchip is  PWM0A , 

For more options, visit http://beagleboard.org/discuss
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to