Jonnie-Cache / zyncoder

Rotary encoder & switch library for RBPi GPIO (wiringPi). Implements a GPIO emulation layer for development.

Home Page:http://blog.zynthian.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Rotary encoder & switch library for RBPi GPIO (wiringPi). Implements a GPIO emulation layer for development.

http://blog.zynthian.org

License:GNU General Public License v3.0


Languages

Language:C 91.9%Language:C++ 3.4%Language:Python 2.7%Language:CMake 2.0%