On Sat, 25 Apr 2020 03:59:42 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user Santhosh
<
hapiness421-Re5JQ...@public.gmane.org> wrote:
>Hello Team,
>
>I am new to this Beagle bone board. I started learning since few days-
>could you please help us in configuring PWM pin P9_14.
>Currently i am using Adafruit library PWM
>
Which library... And which version of Python?
>IOError: [Errno 2] No such file or directory: '/slots'
>
The BBB hasn't used "slots" in years.
debian@beaglebone:~$ python3
Python 3.5.3 (default, Sep 27 2018, 17:25:39)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from Adafruit_BBIO import PWM
>>> PWM.start("P9_14", 50)
>>> PWM.set_duty_cycle("P9_14", 25)
>>> PWM.stop("P9_14")
>>> PWM.cleanup()
>>> exit()
debian@beaglebone:~$
https://adafruit-beaglebone-io-python.readthedocs.io/en/latest/PWM.html
(top level)
https://adafruit-beaglebone-io-python.readthedocs.io/en/latest/index.html
--
Dennis L Bieber