STEMpedia / Dabble

Arduino Library for Dabble app, which includes virtual shields for robot control, sensors, camera, IoT and much more. Compatible with Bluetooth modules like HC-05, HC-06, HM-10, and ESP32 (BLE or Bluetooth 2.0 or 4.0)
https://thestempedia.com/product/dabble/
GNU Lesser General Public License v3.0
42 stars 18 forks source link

Problème entre I2C et Dabble ? #9

Open Roland0000 opened 4 months ago

Roland0000 commented 4 months ago

Bonjour, J'ai un programme de test d'un écran OLED connecté en I2C qui affiche un message. Dès que j'introduit "#include " 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_SH1106G display = Adafruit_SH1106G(128,64, &Wire, -1);

include

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() {}