- Home
- Help and Support
- Support Forum
- IO Pi and IO Pi Plus
- Detect rising edge
Detect rising edge
1 Views - Created 30/08/2023
30/08/2023
Posted by:
jan
I use RPI 3B+ and IO zero 32. I wanted to ask if there is a way to detect the rising edge similarly to GPIO.
Thank you
There is no direct way to detect a rising edge on the IO Zero 32. There are interrupt pins on the IO Zero 32, but they trigger on both rising and falling edges.
One way to detect when a pin goes high would be to connect an interrupt pin on the IO Zero 32 to a GPIO pin on the Raspberry Pi and enable interrupts on the GPIO pin. Add an interrupt trigger function to the GPIO pin so when a pin on the IO Zero 32 changes state, the GPIO interrupt is triggered on the Raspberry Pi, and you can read the state of the IO pin on the IO Zero 32 to see if it has gone high or low.
We have a tutorial in our Python library that shows how this can be done. You can find the tutorial here.
Note: documents in Portable Document Format (PDF) require Adobe Acrobat Reader 5.0 or higher to view, download Adobe Acrobat Reader or other PDF reading software for your computer or mobile device.
Formatting your Forum Post
This forum uses BBCode, short for Bulletin Board Code, which is a lightweight markup language used primarily in online forums and message boards to format and structure posts. It provides a simple way for users to add formatting and styling to their text without requiring knowledge of HTML or other complex programming languages. With BBCode, users can enhance their messages by applying formatting tags such as bold or italic. Additionally, BBCode allows users to insert images, create clickable links, quote other users, and more.
Type | Syntax | Purpose |
---|---|---|
Bold | [b]{text}[/b] | Makes {text} bold |
Italic | [i]{text}[/i] | Makes {text} italic |
Quote | [quote]{text}[/quote] | Creates a quotation box saying {text} |
Image | [img]{url}[/img] | Shows the image indicated by {url} |
Link | [url]{url}[/url] | Makes a link to {url} |