Giter VIP home page Giter VIP logo

Comments (5)

afiskon avatar afiskon commented on September 15, 2024

Thanks for reporting. This could be due to a couple of recent pull requests I accepted blindly. Could you please check if reverting the commit 5110f3e has any effect?

from stm32-ssd1306.

afiskon avatar afiskon commented on September 15, 2024

Also could you please show a photo of how it looks like? Some displays actually have "a shifted XY plane" in a manner of speaking - this is a well known situation and requires changing a few macro.

from stm32-ssd1306.

afiskon avatar afiskon commented on September 15, 2024

... particularly SSD1306_X_OFFSET - please see https://github.com/afiskon/stm32-ssd1306/blob/master/ssd1306/ssd1306_conf_template.h#L57

from stm32-ssd1306.

gharbarka avatar gharbarka commented on September 15, 2024

Thank you for your speedy reply. Attached you will find 2 photos taken before the changes you proposed.

Reverting the commit did not solve the issue of the vertical border; but it did have an effect on the ssd1306_TestBorder() routine. Before the change the pixel traced a line along the top, then RHS, then Bottom right to left stopping in the middle of the line. Deleting the 4 lines and inserting the 1 line, the pixel traced the complete right to left line.

What actually solved the issue was your second suggestion of setting an offset with SSD1306_X_OFFSET. In my case value of 2 was required. Interesting as well was the fact that after this change reverting the commit 5110f3e was not needed so I went back to the original for consistency.

Thanks again for your prompt help.

Photos-001.zip

from stm32-ssd1306.

afiskon avatar afiskon commented on September 15, 2024

🙏

from stm32-ssd1306.

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.