orangepi_PC_gpio_pyH3 icon indicating copy to clipboard operation
orangepi_PC_gpio_pyH3 copied to clipboard

Interrupts python RPI GPIOstyle

Open maco1717 opened this issue 7 years ago • 3 comments

Hi,

do you have any way of working with interrupts like you do in RPi GPIO?

GPIO.add_event_detect(channel, GPIO.RISING)

Thanks. \Marco

maco1717 avatar May 04 '17 16:05 maco1717

@maco1717 : In the meantime, I found this OPi.GPIO module : https://opi-gpio.readthedocs.io/en/stable/api-documentation.html, it does the job for me

MonsieurPaulLeBoulanger avatar May 07 '17 07:05 MonsieurPaulLeBoulanger

Thank you very much! I'll give it a go.

maco1717 avatar May 08 '17 13:05 maco1717

Unfortunately, the OPi.GPIO uses the sysfs interface and does not support internal pull-up/down resistors. How to solve this?

gw0 avatar Nov 19 '17 13:11 gw0