RotaryEncoder
RotaryEncoder Arduino Library
Install / Use
/learn @mathertel/RotaryEncoderREADME
RotaryEncoder library
A library for the Arduino environment for using a rotary encoder as an input.
Here you can find an Arduino compatible library for using rotary encoders.
When I was searching a library for using a rotary encoder in my latest project and found a lot of information on this topic but none of the existing libraries did immediately match my expectations so I finally built my own.
It supports the type of rotary encoder that has a phase change on both input signals
when rotating one notch.
The article on my web site explains the software mechanisms used in detail so you can understand the coding and might be able to adjust it to your needs if you like:
http://www.mathertel.de/Arduino/RotaryEncoderLibrary.aspx
There are various aspects when writing a library for rotary encoders and you can also find a lot of the sources I analyzed at the bottom of the article.
Related Skills
node-connect
352.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
