Comments (2)
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.
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)
- Nothing displaying
- scrolling HOT 2
- Support for ESP32? HOT 4
- How to reset display? HOT 1
- Arduino IDE Library Manager
- Request support for SSD1357
- Custom Fonts HOT 5
- Arduino UNO connection with SSD1331 0.95inch RGB OLED from Waveshare? HOT 3
- Request SSD_13XX compilation for Raspberry PI and/or NodeJS
- Does not work with more than one screen
- SSD1351 Showing white noise only
- Terrific work! Great with ESP32 HOT 8
- Compatibility with this module
- SSD1331 DIM mode is disabled/NORMAL mode doesn't recover from DIM HOT 1
- ESP32 on HSPI
- drawRect does not work if the rectangle ends at the last pixel of the screen
- Color codes in the library are wrong!!! HOT 1
- How to draw custom images HOT 4
- Can't drawIcon an icon which width/height equal to the width/height of the OLED? HOT 2
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 ssd_13xx.