toxygene / gpiod-ky-040-rotary-encoder

KY-040 Rotary Encoder Library using warthog618/gpiod

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KY-040 Rotary Encoder Library using GPIOd

Notifies of clockwise and counterclockwise rotation of a KY-040 rotary encoder via a channel.

Details

Using gpiod, an interupt handler is setup to check the line values and push a value to the supplied channel.

About

KY-040 Rotary Encoder Library using warthog618/gpiod

License:MIT License


Languages

Language:Go 100.0%