On Wed, 3 Mar 2021 06:18:40 -0800 (PST), in
gmane.comp.hardware.beagleboard.user Rafael Meyer
<evertonlegunszipmail.com.br-re5jqeeqqe8avxtiumw...@public.gmane.org>
wrote:

>
>I would like to know how to generate a PWM wave with code in python3. 
>

https://adafruit-bbio.readthedocs.io/en/latest/PWM.html

        Based upon
https://raw.githubusercontent.com/wiki/beagleboard/pocketbeagle/images/PocketBeagle_pinout.png
there are four pins that support PWM output. P1_33 (defaults to PRU), P1_36
(PWM), P2_1 (PWM), P2_3 (default GPIO).

        If Adafruit_BBIO.PWM can't change the pin mode, you may have to play
with config-pin external to the program first.

        It looks like PWM has also been added to the blinka/circuitpython
adapter.




-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/sdp04g50hhjhfbs5f57la9h1v1orub8dla%404ax.com.

Reply via email to