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
index=0
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 , 
PWM0B,  PWM1A ,  PWM1B 

-- 
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 
https://groups.google.com/d/msgid/beagleboard/ede829c4-bc4d-41f0-8579-cc126de860a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to