Giter VIP home page Giter VIP logo

Comments (2)

JediJeremy avatar JediJeremy commented on July 30, 2024

I think I'm seeing the same problem on a generic ESP-12E module I've got wired up on the breadboard to a SD1331 display from eBay. Any text at setTextScale(1) is missing every second line, though setTextScale(2) and up works OK. I tried several fonts and they all did the same thing. fillRect() works, but drawPixel() does not. lines do work, circles don't.

It feels like something is wrong in the single-pixel draw routines. Anything that uses fast H or V lines (rects, lines, big fonts) to draw many pixels at once seem to be OK.

It took me a while to figure out how to wire it up. Seems like the HSPI-CS pin (GPIO15) is being used as CS no matter what I say in the code.

Otherwise it's very fast, the colors are nice, and I wish it was working. I may have to dig into the code myself and see what's up. I suspect it's some bitwise math the ESP8266 compiler is doing it's own unique way, or perhaps some issue with very short SPI transfers.

from ssd_13xx.

JediJeremy avatar JediJeremy commented on July 30, 2024

Of course, ten minutes after posting it started working. (then stopped, then started again) I now think it's to do with the DC pin choice (The behavior was the same when I deliberately set the DC pin wrong.) I haven't fully deciphered the logic, but pins GPIO5 and GPIO4 seem to work as DC sometimes, but GPIO16 does not.

from ssd_13xx.

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.