zmatt

sysfs_pwm example.py

Sep 4th, 2022
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. from sysfs_pwm import Pwm   # see https://pastebin.com/R70P1wAn
  2.  
  3. pwm1b = Pwm('bone/1/b', frequency=20000)
  4. pwm1b.value = 0.5
Advertisement
Add Comment
Please, Sign In to add comment