First, thanks to the authors of the ssd11306_i2c_oled_u8g2 mod.
Provides a four line display using either 128x32 or 128x64 OLED displays. It can operate independently, but starts to provide a relatively complete on-device UI when paired with the Rotary Encoder UI usermod. I strongly encourage you to use them together.
See the pair of usermods in action
Copy and update the example platformio_override.ini.sample
from the Rotary Encoder UI usermode folder to the root directory of your particular build.
This file should be placed in the same directory as platformio.ini
.
USERMOD_FOUR_LINE_DISPLAY
- define this to have this mod included wled00\usermods_list.cpp - also tells Rotary Encoder usermod, if installed, the display is availableFLD_PIN_SCL
- The display SCL pin, defaults to 5FLD_PIN_SDA
- The display SDA pin, defaults to 4All of the parameters can be configured via the Usermods settings page, including GPIO pins.
This usermod requires the U8g2
and Wire
libraries. See the
platformio_override.ini.sample
found in the Rotary Encoder
UI usermod folder for how to include these using platformio_override.ini
.
enabled
- enable/disable usermodpin
- GPIO pins used for display; I2C displays use Clk & Data; SPI displays can use SCK, MOSI, CS, DC & RSTtype
- display type in numeric format
contrast
- set display contrast (higher contrast may reduce display lifetime)refreshRateSec
- display refresh time in secondsscreenTimeOutSec
- screen saver time-out in secondsflip
- flip/rotate display 180°sleepMode
- enable/disable screen saverclockMode
- enable/disable clock display in screen saver modei2c-freq-kHz
- I2C clock frequency in kHz (may help reduce dropped frames, range: 400-3400)2021-02
2021-04
2021-11
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Комментарий ( 0 )