Python GPIO Library for the Rock64 (R64.GPIO)
#3
Just updated the llibrary with software PWM support.

PWM currently defaults to high-precision mode. This mode achieves the highest possible PWM timing accuracy, and works the same on all platforms/kernels, but uses a lot of CPU time due to the use of a busy-wait.
Low-precision mode is much lighter, but accuracy is kernel-dependent. You'll have to test low-precision mode to see if it's adequate for your needs.

Low-precision mode can be enabled by passing "pwm_precision=GPIO.LOW" as an argument for start()
  Reply


Messages In This Thread
RE: Python GPIO Library for the Rock64 (R64.GPIO) - by Leapo - 04-03-2018, 11:37 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  OpenWRT on the Rock64 CanadianBacon 6 1,218 06-10-2022, 05:43 PM
Last Post: anchor00
  Rock64 bricked shawwwn 6 1,822 01-29-2022, 05:49 AM
Last Post: shawwwn
  Rock64 board not working, no HDMI no Ethernet. EDited 2 911 01-26-2022, 08:46 AM
Last Post: TRS-80
  Rock64 <--> Rock64 Serial Connection mark1250 1 692 12-23-2021, 09:27 PM
Last Post: barray
  Are you guys still using Ayufan's OMV on your Rock64? AkiraSensei 0 681 11-26-2021, 07:01 PM
Last Post: AkiraSensei
  Rock64 kernel panics clay 15 4,550 10-17-2021, 06:30 PM
Last Post: Rocklobster
  Pine Rock64 eMMC lifespan moonspell79 3 1,859 08-19-2021, 06:46 PM
Last Post: bcnaz
  Rock64 No Audio - Solved wbecks 12 22,134 08-13-2021, 01:23 PM
Last Post: blakeadam
  Trustzone support for Rock64 capablegh 1 1,321 07-17-2021, 10:15 AM
Last Post: capablegh
  rock64, compile problems "illegal instruction", "memory fault" -> ddr_333Mhz? klausfelix 0 896 07-02-2021, 03:13 PM
Last Post: klausfelix

Forum Jump:


Users browsing this thread: 1 Guest(s)