Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problème entre I2C et Dabble ? #9

Open
Roland0000 opened this issue Apr 29, 2024 · 0 comments
Open

Problème entre I2C et Dabble ? #9

Roland0000 opened this issue Apr 29, 2024 · 0 comments

Comments

@Roland0000
Copy link

Bonjour,
J'ai un programme de test d'un écran OLED connecté en I2C qui affiche un message.
Dès que j'introduit "#include <Dabble.h>" dans ce programme, l'écran ne fonctionne plus !
Dès que je supprime, le programme refonctionne.
Quelqu'un a t'il une explication ? et éventuellement une solution ?

#include <Adafruit_SH110X.h>
Adafruit_SH1106G display = Adafruit_SH1106G(128,64, &Wire, -1);
#include <Dabble.h>
void setup() {
Serial.begin(9600);
delay(250); // wait for the OLED to power up
display.begin(0x3c, true); // Address 0x3C default
display.clearDisplay();
display.setTextSize(1);
display.setTextColor(SH110X_WHITE);
display.setCursor(0, 0);
display.println("Bonjour Rol");
display.display();
}
void loop() {}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant