Comments (4)
I run it with an ESP32 without a problem.
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
...
#define SCREEN_WIDTH 128 // OLED display width, in pixels
#define SCREEN_HEIGHT 64 // OLED display height, in pixels
#define OLED_RESET -1 // Reset pin # (or -1 if sharing Arduino reset pin)
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);
...
// SSD1306_SWITCHCAPVCC = generate display voltage from 3.3V internally
#define SCREEN_ADDRESS 0x3C ///< See datasheet for Address; 0x3D for 128x64, 0x3C for 128x32
if (!display.begin(SSD1306_SWITCHCAPVCC, SCREEN_ADDRESS))
{
// fail
}
I set the board to DOIT ESP32 DEVKIT v1
Arduino IDE 2.0.2
from adafruit_ssd1306.
I use Wire.begin() in setup() with success
void setup() {
Serial.begin(9600);
USB.begin();
Wire.begin(35, 33);
display.begin(...
from adafruit_ssd1306.
I use Wire.begin() in setup() with success
void setup() {
Serial.begin(9600);
USB.begin();
Wire.begin(35, 33);
display.begin(...
Any example ??
from adafruit_ssd1306.
from adafruit_ssd1306.
Related Issues (20)
- OLED looks corrupted on STM32 when using bitmap or text functions (Previously: Single library uses up almost all my code space) HOT 4
- .
- Where is the method "print" located in this library? I was trying to find the implementatin of the method "print" and "println" for the oled display. I found the line in the example "display.println(F("Hello, world!"));" But where is this method? HOT 2
- display.display(), arbitrary display area refresh
- display.begin() always true HOT 3
- Using clearDisplay() in the main loop causes Arduino Micro / Pro Micro bootloader to crash HOT 5
- reset pin not activated properly on stm32 bluepill
- Character's size HOT 2
- SPI communication is very slow
- pgmspace.h: No such file or directory for Raspberry Pi Pico HOT 4
- Custom i2c pins for ESP32 HOT 2
- The problem with the screen
- Cannot compile for Arduino Nano RP2040 Connect
- lcd oled 64x48 no working
- inharmony with SD.h
- Teensy issue on top row. HOT 2
- error when several ssd1306 128x64 HOT 1
- Not compatible with ATmega328PB (Watterrott Pro Mini PB)? HOT 1
- [Feature Request] One instance - multiple devices
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 adafruit_ssd1306.