bitbank2 / oled_turbo Goto Github PK
View Code? Open in Web Editor NEWAn experiment to push the limits of the SSD1306 through bit banging on Arduinos
License: GNU General Public License v3.0
An experiment to push the limits of the SSD1306 through bit banging on Arduinos
License: GNU General Public License v3.0
when using font size 2 (the largest type)
it write some black lines on top of the text ??
this overlab with first line, in case you like to write two lines using the largest font.
oledWriteString(0,0,"THISDONT",2,0);
oledWriteString(0,3,"WORK :-)",2,0);
The work a round:
oledWriteString(0,3,"WORK :-)",2,0);
oledWriteString(0,0,"THIS ",2,0);
See here I write bottom line first, so the top line will over-write the black line
The correct solution, is to figure out how not to write some black lines over the text
this will also alow usage better of the top of the display
(please some one : also add a 3 rd font size ? so we can have 3 lines of large text using the entire height of the display)
size 2: only alow two lines of 8 chars. but this is very readable, even from distance, in case you dont need to display so much
I have been using this quite a lot the last weeks,
I found some displays dont like this type of high speed.
Solution :
search for any CLOCK change in the first few functions, and add a nop like this
now all displays works
I2CPORT = bOld & ~(1 << BB_SDA); // set data low
nop; // added a NOP on each side of any clock handeling in the code
I2CPORT |= (1 << BB_SCL); // toggle clock
nop; // added a NOP on each side of any clock handeling in the code
I2C_CLK_LOW();
Hi,
tried unsuccessfully compiling the sample code for attiny85.
I2CDDR and PORTD are undefined, and the global variables use over 200% of the 85's memory.
Since you've already run it on the 85, there must be something I'm missing?
Hi the library works very well , but i would like add new font to the library. Can you please provide instructions for that
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.