On Sat, 25 Apr 2020 03:59:42 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user Santhosh
<[email protected]> 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

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/c12cafht58pfpk6ql2oums94jlk7nqeod0%404ax.com.

Reply via email to