Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPIO communication via sysfs.

gpio-sysfs.* is a collection of functions which encapsulate the
reading / writing and interrupt handling to/from GPIO pins
of the raspberry pi.

The demo program gpio-int-test waits for an interrupt for 
3secs on a GPIO pin. If an interrupt has happened it prints out 
"interrupt" otherwise "timeout".

To run it type:

make
sudo ./gpio-int-test 22

which waits then for an interrupt on GPIO pin 22.

About

This is a bunch of c functions for the RPI to do GPIO communication and interrupts via sysfs

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages