4ilo / ssd1306-stm32hal Goto Github PK
View Code? Open in Web Editor NEWssd1306 library for stm32 using hal library
License: MIT License
ssd1306 library for stm32 using hal library
License: MIT License
Your code appear to work quite well, I am using an STM32F411CE "Black Pill" module the only problem I seem to have is that the right side of the display is not being filled and this is a SSD1306 128X64 module that I have previously tried with other controllers and never saw this problem. I did try defining: SSD1306_COM_LR_REMAP but it did not appear to change anything.
I have attached a photo of the lcd screen
Do you have any suggestions
Thank you so much.
Hello Oliver,
First of all, thank you so much for sharing this library! It was exactly what I was looking for and it worked flawlessly.
I wanted to make you know that I made a fork of your library:
https://github.com/afiskon/stm32-ssd1306
I refactored the code a bit (e.g. all library files are in one directory now, and examples are in other directories), implemented some minor features I needed (e.g. mirroring support) and most importantly - my fork supports 4-wire SPI protocol.
I was hoping perhaps we could somehow merge our libraries. The problem is - I'm not sure how. The structure differs quote a lot so I can't simply send a pull request. Would you be interested in moving my code to your repository entirely? Or maybe vice versa - closing your repository with redirect to mine? Or maybe you wold be interested in just mentioning my fork in README.md of your library so people could easily find it if they need SPI support?
What do you think?
Is there any way to include the Drawqbitmap function?
Hi again, On the last photo I show a large filled rectangle on the right hand side of the screen , I meant to remove the rectangle which the code told it to draw, my mistake. However, the problem is still visible on the right edge of the screen as there seems to be a series of pixels lit-up from top to bottom that I can't seem to get rid of. I have attached a new picture of that. Also it looks like my starting point on the left of the screen is cut off in some places
Sorry for my previous screw up
Once again ...Thank you
Hello,
I can run normally with your driver, but now I need to change the ASCII font size, Chinese character set and modify the picture. I would like to ask what software you use for module extraction and generation, could you tell me the specific software and procedures of module extraction? Thank you very much!
For example, if I need a font larger than 16x26, how do I generate this data?
Hey hello there,
I need to import a specific font , do you have a converter in order to import my fonts?
May I ask what software did you use to generate the font to 16bits format?
code as shown below:
static const uint16_t Font7x10 [] = {
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, // sp
0x1000, 0x1000, 0x1000, 0x1000, 0x1000, 0x1000, 0x0000, 0x1000, 0x0000, 0x0000, // !
0x2800, 0x2800, 0x2800, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, // "
:::
:::
There is an extra _
ssd_1306_Init(&hi2c1);
With some 128x32 displays default settings don't work and need to be adjusted:
P.S. I've emailed you about it earlier, but you can ignore that email now that I found the source of the problem.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.