WLED/usermods/usermod_v2_rotary_encoder_u.../readme.md

47 wiersze
1.5 KiB
Markdown
Czysty Zwykły widok Historia

2021-10-02 18:19:12 +00:00
# Rotary Encoder UI Usermod ALT
This usermod supports the UI of the `usermod_v2_rotary_encoder_ui_ALT`.
2021-10-02 18:19:12 +00:00
## Functionalities
2021-10-02 18:19:12 +00:00
Press the encoder to cycle through the options:
* Brightness
* Speed
* Intensity
* Palette
* Effect
* Main Color (only if display is used)
* Saturation (only if display is used)
2021-10-02 18:19:12 +00:00
Press and hold the encoder to display Network Info. If AP is active, it will display the AP, SSID and Password
2021-10-02 18:19:12 +00:00
Also shows if the timer is enabled.
2021-10-02 18:19:12 +00:00
[See the pair of usermods in action](https://www.youtube.com/watch?v=ulZnBt9z3TI)
## Installation
Copy the example `platformio_override.sample.ini` to the root directory of your particular build.
### Define Your Options
* `USERMOD_ROTARY_ENCODER_UI` - define this to have this user mod included wled00\usermods_list.cpp
* `USERMOD_FOUR_LINE_DISPLAY` - define this to have this the Four Line Display mod included wled00\usermods_list.cpp
also tells this usermod that the display is available
(see the Four Line Display usermod `readme.md` for more details)
* `ENCODER_DT_PIN` - defaults to 18
* `ENCODER_CLK_PIN` - defaults to 5
* `ENCODER_SW_PIN` - defaults to 19
* `USERMOD_ROTARY_ENCODER_GPIO` - GPIO functionality:
`INPUT_PULLUP` to use internal pull-up
`INPUT` to use pull-up on the PCB
2021-10-02 18:19:12 +00:00
### PlatformIO requirements
No special requirements.
2021-10-02 18:19:12 +00:00
## Change Log
2021-10
* First public release