Rotary encoder & switch library for RBPi GPIO (wiringPi). Implements a GPIO emulation layer for development.
Branch: master
Clone or download
Pull request Compare This branch is 50 commits behind zynthian:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.kdev4
.gitignore
CMakeLists.txt
LICENSE.txt
README.md
__init__.py
wiringPi.h
wiringPiEmu.c
wiringPiEmu.h
zyncoder.c
zyncoder.h
zyncoder.kdev4
zyncoder.py
zyncoder_test.c

README.md

zyncoder library

Rotary encoder & switch library for RBPi GPIO (wiringPi).

This library implements an interface for rotary encoders and switches connected to the RBPi GPIO.

It allows to read values from rotary encoders and switches and, optionaly, send it to MIDI/OSC controllers directly. It can be used to create Embeded User Interfaces based in this kind of elements.

Also, implements an emulation layer that ease development and testing in desktop and laptop computers. This emulation layer uses POSIX signals (SIGRTMIN-SIGRTMAX) as inputs for the virtual GPIO.

For compiling the library is required the next packages:

  • alsalib (libasound.so)
  • liblo (liblo.so)

Also, for compiling for real use (not emulation), is required:

  • wiringPi (libwiringPi.so)

For building execute:

$ mkdir build
$ cd build
$ cmake ..
$ make