Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cd /sys/devices/bone_capemgr.8/
- echo am33xx_pwm > slots
- echo bone_pwm_P9_14 > slots
- cd /sys/devices/ocp.3/pwm_test_P9_14.14/
- echo 20000000 > period
- echo 0 > polarity
- if [ "$1" == 1 ]; then
- echo 1800000 > duty
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement