1 1
ghislain

BananaPro: gpio.add_event_detect disconnect my network

Recommended Posts

Armbianmonitor:

Hi,

I use BananaPro on Armbian Strech or Bionic, I try to use the GPIO python library (for bananapro from LeMaker github)

 

gpio.add_event_detect() or GPIO.wait_for_edge(channel, GPIO.RISING)

This usually disconnect my network and the event is never detected.

I have to reboot the PI to restore the state. 

 

Also, a normal read/write state GPIO.input(PIN_NUM) works perfectly...

I try this https://forum.armbian.com/topic/3249-bananapi-m1-gpioadd_event_detect-not-working-after-switch-to-vanilla-kernel/ but not work.

 

My python script work fine on Bananian on the same bananaPro.

 

thank for your help.

 

 

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