jetsonhacks / jetsonTX1GPIO

A straightforward library to interface with the Jetson TX1 GPIO pins
MIT License
52 stars 46 forks source link

Function of the gpioSetEdge method #2

Open hlummis opened 6 years ago

hlummis commented 6 years ago

How does one use the gpioSetEdge method here? My assumption here is that gpioSetEdge will trigger an interrupt on the file descriptor that it's setting the edge detection on, but I'm not sure.

jetsonhacks commented 6 years ago

Here's a decent description: http://www.iot-programmer.com/index.php/books/22-raspberry-pi-and-the-iot-in-c/chapters-raspberry-pi-and-the-iot-in-c/55-raspberry-pi-and-the-iot-in-c-input-and-interrupts?showall=&start=2

hlummis commented 6 years ago

Thanks!

On Fri, Oct 20, 2017 at 8:16 PM, Jetsonhacks notifications@github.com wrote:

Here's a decent description: http://www.iot-programmer.com/index.php/books/22-raspberry- pi-and-the-iot-in-c/chapters-raspberry-pi-and-the-iot-in-c/ 55-raspberry-pi-and-the-iot-in-c-input-and-interrupts?showall=&start=2

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jetsonhacks/jetsonTX1GPIO/issues/2#issuecomment-338360178, or mute the thread https://github.com/notifications/unsubscribe-auth/AeM3D8oRr8wgTB1xDDWNe3kMLlxCaZiaks5suWIUgaJpZM4QBYwo .

-- http://automot.us Harris Lummis Cofounder & CTO (713) 452 - 9775