Giter Site home page Giter Site logo

oled_turbo's Introduction

oled_turbo's People

Contributors

bitbank2 avatar mrblinky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

oled_turbo's Issues

speed issue, some OLED types

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();

Compiling for attiny85

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?

How to change/add new font?

Hi the library works very well , but i would like add new font to the library. Can you please provide instructions for that

FONT size 2 overlab

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

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.