1 1
JRD McLAREN

OPI Zero Plus H5 and GPIO library

Recommended Posts

Hello everybody.

 

I'm little bit confused with this think.

Which libraries are good (best) for H5 OPiZeroPlus board .?

 - WiringPI

 - ArmbianIO

 - GPIOzero

 

or ..??

 

I have small script for timer switch, but it is not stably as well as I can.

Button press is not accurate. (some pull-up/down are missing probably)

 

Thanks for answer or suggestion.

 

(PS: I'm not a programmer guru)

 

Share this post


Link to post
Share on other sites

Hi Jrd,

 

I also just started programming the OPi Zero Plus and I am using ArmbianIO as I understood the other two are for the Raspberry or don't support the H5. The problem that you describe could be contact bounce maybe? I didn't get to test the buttons in my project yet.

 

Hans

Share this post


Link to post
Share on other sites
On 12/14/2018 at 6:58 PM, JRD McLAREN said:

Which libraries are good

Within armbian you find following User-Supported options:

ArmbianIO (sysFS) or
userspaceIO (libgpiod),
pyGPIO accesses 'pins' directly through /dev/mem


 ArmbianIO API
https://forum.armbian.com/topic/5655-armbianio-api-proposal/


 User Space IO is Python 3 and Java 8 bindings for user space GPIO, SPI, I2C, PWM and Serial interfaces

https://forum.armbian.com/topic/6523-user-space-io-is-python-3-and-java-8-bindings-for-user-space-gpio-spi-i2c-pwm-and-serial-interfaces/


 pyGPIO - A 'more general' python GPIO library based on pyA20
https://forum.armbian.com/topic/5662-pygpio-a-more-general-python-gpio-library/

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
1 1