Comments (7)
Thanks for the suggestion! Unfortunately, it did not help with the black bg. I even tried playing around with the hue value but no result.
I did eventually got it to work properly. Turns out the command to set the lcd operational voltage in the st7565_init()
function was incorrect. It should have been
st7565_command(CMD_SET_RESISTOR_RATIO | 0x4);
isntead of
st7565_command(CMD_SET_RESISTOR_RATIO | 0x6);
I also noticed various other things in the st7565 driver that needs to be cleaned up and fixed as well. I will submit a PR for it soon.
from lv_drivers.
from lv_drivers.
@jdinh1 The setting of CMD_SET_RESISTOR_RATIO
is specific to the display, right?
from lv_drivers.
@kisvegabor Yes, it is. The specsheet said to use 0x26
, which is what the ST7565
driver in the repo is currently defaulted to. But it was strange that it did not work correctly. I sampled a few other implementations of the same driver, and most seems to use 0x24
or 0x27
so I ended up using 0x24
that and it seems to worked.
from lv_drivers.
@jdinh1 I see, thank you! Can you send a PR with a comment for this line in the driver?
from lv_drivers.
@kisvegabor Done. Thank you for the awesome library!
from lv_drivers.
Merged, thank you!
from lv_drivers.
Related Issues (20)
- Popup Context Menu Example in Wayland HOT 1
- Convert drivers from lvgl_esp32_drivers to a generic format HOT 1
- SDL + multiple display + touch is not working HOT 1
- drm mode fails to draw on H616 processor HOT 3
- define SDL_MAIN_HANDLED? HOT 2
- Question about ILI9488 VS ILI9341 Driver HOT 1
- Fullscreen window mode in Wayland HOT 5
- SDL crashes under certain comditions in `8.3.0` HOT 3
- how to support(register) multiple input devices? HOT 2
- Add lvgl v9 support HOT 14
- Add FT81x support to display HOT 4
- Build of C++ user code fails when attempting to pass xpt2046_read as indev read_cb
- evdev reverse mapping is broken HOT 2
- Getting mmap fail EINV with RPi4 HOT 3
- listener function for opcode 3 of xdg_toplevel is NULL HOT 1
- [RK3568 waylay drivce] interface 'xdg_toplevel' has no event 3 HOT 8
- How to implement esp-idf LV_DRV_DISP_SPI_WR_ARRAY. HOT 3
- fbdev is broken against lvgl master/v9 HOT 3
- There is no lv_disp_drv_t data type in source code HOT 4
- Add SDL high DPI config
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lv_drivers.