Python GPIO Library for the Rock64 (R64.GPIO)
#27
Hi everyone,
I came across the library while trying to work with gpio on rock64 in python.
However, I couldn't use the library due to licensing issue (yes, it is a commercial prototype) and the add_event_detect()
feature was missing (to easily detect button press).

So, I reimplemented the R64.GPIO as a seperate repo in github (https://github.com/fadedreamz). In my testing the initial results are good enough as it consumes very little cpu cycle to detect the key press event (no busy wait).

Right now if you want to do GPIO input output with event_detect() the library is able to handle them pretty good. I am still missing many feature as I never used RPi.GPIO (as my C skills >>>> my python skills).

Right now, PWM is not implemented.
For Pull Up/Down, right now the default settings are used (whatever it is initialized to) and will fix it as soon as I can enable it in the hardware.

Any feedback from you guys are appreciated and will be used to improve the library (as I will have the rock64 for quite some time).
  Reply


Messages In This Thread
RE: Python GPIO Library for the Rock64 (R64.GPIO) - by fadedreamz - 09-19-2018, 11:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 doesn't boot dstallmo 0 190 12-19-2023, 06:10 PM
Last Post: dstallmo
  Rock64 won't boot luminosity7 9 3,609 05-20-2023, 08:43 AM
Last Post: luminosity7
  How well does Rock64 deal with HDR and Atmos on Kodi? drvlikhell 3 1,686 04-29-2023, 04:24 AM
Last Post: newestssd
  OpenWRT on the Rock64 CanadianBacon 12 7,516 04-24-2023, 12:40 PM
Last Post: arunkhan
  Rock64 board not working, no HDMI no Ethernet. EDited 3 3,298 01-17-2023, 02:31 PM
Last Post: Flagtrax
  ROCK64 v3 can it boot from USB? Tsagualsa 4 1,869 11-29-2022, 11:31 AM
Last Post: Macgyver
  rock64 v3 spiflash Macgyver 0 662 11-28-2022, 02:18 PM
Last Post: Macgyver
  my rock64 dosen't work rookie_267 0 864 10-07-2022, 07:50 PM
Last Post: rookie_267
  Rock64 u-boot for eMMC Build Error mexicanflyer 0 956 09-18-2022, 02:29 PM
Last Post: mexicanflyer
  ROCK64 - Not start mathieu 0 1,161 07-11-2022, 03:49 AM
Last Post: mathieu

Forum Jump:


Users browsing this thread: 1 Guest(s)