Giter VIP home page Giter VIP logo

Comments (7)

jdinh1 avatar jdinh1 commented on August 19, 2024 1

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.

20190120_185317

from lv_drivers.

embeddedt avatar embeddedt commented on August 19, 2024

from lv_drivers.

kisvegabor avatar kisvegabor commented on August 19, 2024

@jdinh1 The setting of CMD_SET_RESISTOR_RATIO is specific to the display, right?

from lv_drivers.

jdinh1 avatar jdinh1 commented on August 19, 2024

@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.

kisvegabor avatar kisvegabor commented on August 19, 2024

@jdinh1 I see, thank you! Can you send a PR with a comment for this line in the driver?

from lv_drivers.

jdinh1 avatar jdinh1 commented on August 19, 2024

@kisvegabor Done. Thank you for the awesome library!

from lv_drivers.

kisvegabor avatar kisvegabor commented on August 19, 2024

Merged, thank you!

from lv_drivers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.