Skip to content

milosivanovic/gpio-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Python GPIO Monitor

About

This is a generic GPIO monitor that doesn't depend on any specific platform, like Raspberry Pi, ODROID, Beagleboard, and so on.

How it works

It uses epoll() to give you interrupt-driven results; instant, and cheap on the CPU. Currently only reading from GPIO ports is possible, but triggered write support will be added shortly.

How to use it

Simply specify which ports you would like to monitor, and you're away.

    gpio = GPIO({
            'LED1': 100,
            'LED2': 101
    })
    gpio.monitor()

About

An interrupt-driven Python GPIO monitor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages