Skip to content
/ ebtn Public

Rotary Encoder and Button Library

License

Notifications You must be signed in to change notification settings

saawsm/ebtn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EBTN

An ESP-IDF component library for buttons and rotary encoders.

Uses queues for button and encoder events. Supports both long button press and multiple button clicks (e.g. double, triple, or more clicks). Provides time deltas for most events (e.g. button click duration, time since last press, etc) and supports custom state polling for when you need to use port expanders (such as the PCF8574).

Usage

cd components
git submodule add https://github.com/saawsm/ebtn

Add ebtn in project CMakeLists.txt