1d4487b6cd
* Improved pin manager, ethernet config * Ethernet is configured prior even to LED pins * Pin Manager allocation / deallocation functions now take an "ownership" tag parameter, helping avoid accidentally free'ing pins that were allocated by other code * Pin Manager now has ability to allocate multiple pins at once; Simplifies error handling * Fix operator precedence error Bitwise AND has lower precedence than the relational "greater than" operator. * PinManager update for some user modules * don't build everything... * Final step to reduce RAM overhead * update comment * remove macros * Remove leftover allocated * Init ethernet after settings saved Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com> |
||
---|---|---|
.. | ||
platformio_override.ini.sample | ||
readme.md | ||
usermod_v2_rotary_encoder_ui.h |
Rotary Encoder UI Usermod
First, thanks to the authors of other Rotary Encoder usermods.
This usermod starts to provide a relatively complete on-device UI when paired with the Four Line Display usermod. I strongly encourage you to try them together.
See the pair of usermods in action
Installation
Copy and update the example platformio_override.ini.sample
to the root directory of your particular build.
This file should be placed in the same directory as platformio.ini
.
Define Your Options
USERMOD_ROTARY_ENCODER_UI
- define this to have this user mod included wled00\usermods_list.cppUSERMOD_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 usermodreadme.md
for more details)ENCODER_DT_PIN
- The encoders DT pin, defaults to 12ENCODER_CLK_PIN
- The encoders CLK pin, defaults to 14ENCODER_SW_PIN
- The encoders SW pin, defaults to 13
PlatformIO requirements
No special requirements.
Note: the Four Line Display usermod requires the libraries U8g2
and Wire
.
Change Log
2021-02
- First public release