Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port of the rotary module to ESP32 #3625

Merged
merged 10 commits into from
Apr 27, 2024
2 changes: 2 additions & 0 deletions components/modules/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ set(module_srcs
"otaupgrade.c"
"ow.c"
"pipe.c"
"rotary_driver.c"
"rotary.c"
"rmt.c"
"rtcmem.c"
"qrcodegen.c"
Expand Down
7 changes: 7 additions & 0 deletions components/modules/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,13 @@ menu "NodeMCU modules"
Includes the rmt module to use the ESP32's built-in
remote control hardware.

config NODEMCU_CMODULE_ROTARY
bool "Rotary switch input device"
default "n"
select NODEMCU_CMODULE_GPIO
help
Includes the rotary module which allows easy access to one or more rotary switches.

config NODEMCU_CMODULE_RTCMEM
bool "Access to a limited amount of battery backed memory (rtcmem)"
default "n"
Expand Down