Skip to content

Example of using sysfs for edge detection interrupts on the Omega's GPIOs

License

Notifications You must be signed in to change notification settings

OnionIoT/gpioIrq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gpioIrq

Example of using sysfs for edge detection interrupts on the Omega's GPIOs.

Compilation

In order to run this program on the Omega2, it must first be compiled for the MIPS architecture.

The available options:

Both methods will work, it is up to the user.

Usage

The executable is meant to be run with an argument that identifies the GPIO pin which is to be monitored for a change in the voltage level (an edge):

./gpioIrq <GPIO-Number>

To test this program, run it and try using a jumper wire to connect the selected GPIO to GND and then 3.3V. Monitor the output of the program and observe what happens.

About

Example of using sysfs for edge detection interrupts on the Omega's GPIOs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published