arduino-lib-oled's People
Forkers
louwii pclin streamx3 zatupitel raffienficiaud nid69ita fornellas mayboy008 gasparow5 dgjohnson marcosabcarvalho danieldev-gh boxel-rebound jvde2019arduino-lib-oled's Issues
Can't rotate display
I chose this library because of its small footprint and simple interfaces. Everything in my project works great except I need to be able to rotate the display 180 degrees. I believe the SSD1306 chip has the hardware capability for this, but I don't know how to do it. I imagine it would be a simple addition to the otherwise excellent library for someone that knows how to do it.
Inform about display.display(); in readme
Please add a note in the readme that this is double buffered and you must call display.display(); before anything will actually show on screen. I only found it after fishing through one of the examples.
Not for AVR
architectures=*
oled.h:306:18: error: no members matching 'Print::printf' in 'class Print'
using Print::printf;
^~~~~~
Communication error not handled properlly, hardware issue.
I've found that when the display is not connected and the pins remain floating without the pull-up, it cause system failure and periodic reset.
Doesn't work with wire.h lib on the same pins.
I'm using several IIC devices and when used this lib, only oled is working. Other devices stop communicate. I've found that this lib uses bit-banging instead of wired.h lib, but it probably don't release the buss for others.
error: 'contrast' was not declared in this scope; did you mean 'constrain'?
please declare, on top:
void contrast(int value);
else have this error:
src/main.cpp: In function 'void loop()':
src/main.cpp:110:5: error: 'contrast' was not declared in this scope; did you mean 'constrain'?
110 | contrast(128);
| ^~~~~~~~
| constrain
*** [.pio/build/heltec_wifi_kit_8/src/main.cpp.o] Error 1
Characters Merged Instead of Overwritten When Updated
I have an application where I display a screen with multiple values and their titles.
When I first display the screen everything is fine.
But when I update just one changed value (not clearing the screen), the updated value is merged on top of the old value.
It appears that the characters being printed are OR'd on top of current pixels, rather than replacing.
I am using the display.printf(0, 10, "Title: %-15s", mytitle); function. Works fine when I first clear the display.
Does not work on second update call (without clearing display) with a new title value. Result is illegible.
I only want to update the value that changed without re-printing the entire screen.
Thanks,
Marty
error: no members matching 'Print::printf' in 'class Print'
I'm trying to use your library but I'm getting an error when compiling
Arduino\libraries\arduino-lib-oled-master\src/oled.h:306:18: error: no members matching 'Print::printf' in 'class Print'
using Print::printf;
^
exit status 1
Error compiling for board Arduino/Genuino Micro.
My code:
#include <Arduino.h>
#include <oled.h>
OLED oled = OLED(2, 3, NO_RESET_PIN, 0x3C, 128, 64, false);
bool displayed = false;
void setup() {
oled.begin();
}
void loop() {
if (!displayed) {
oled.draw_pixel(0,0);
oled.draw_pixel(127,0);
oled.draw_pixel(127,31);
oled.draw_pixel(0,31);
oled.display();
displayed = true;
}
}
I guess I'm missing an include? But your documentation doesn't say anything about it.
Support for Hiragana?
I attempted to send Japanese characters to the display, but only got blank spaces. I am wondering
if I could send words such as: おんど and すいぶん to the display?
If i can and it is even possible, Would it be possible to display Kanji characters as well???
It makes space in front of Degree symbol
This lib works well, except the degree sign, which places a space in front. No idea why.
I've tried to locate the reason in code, but no success. It's same for print and for draw_string functions. But when used draw_character, it works fine, without space in front.
Making bitmaps
I have tried adafruits img2bitmap but i dont come out right. How do I make a bitmap that will display right using this lib?
Regards
Dennis
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.