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
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
.
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 usermod readme.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 13No special requirements.
Note: the Four Line Display usermod requires the libraries U8g2
and Wire
.
2021-02
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )