u8g2.begin();
u8g2.enableUTF8Print(); // enable UTF8 support for the Arduino print() function
DS1307.start();
}
void loop(void) {
u8g2.setI2CAddress(0x3C * 2);
u8g2.setFont(u8g2_font_simple1_tf); // use chinese2 for all the glyphs of "你好世界"
u8g2.setFontDirection(0);
u8g2.clearBuffer();
u8g2.setCursor(0, 15);
u8g2.print("Hello World!");
u8g2.setCursor(0, 30);
u8g2.print("ABCD");
u8g2.sendBuffer();
delay(1000);
}
.........................................................
As soon as I introduce this line DS1307.start(); the display stops DISPLAYING.
Which line are you referring to? Your code is difficult to read, so please use code tags as suggested by other users. Additionally, posting an annotated schematic along with links to technical information on the hardware components will help us assist you more effectively.
I am having one 0.91'' OLED display and an RTC DS1307 parallely connected. When DS1307.start() is coomented out the display works fine, otherwise not. I think it's the addressing problem. DS130.start() is causing the display to stop. Please help in this issue . I want to display RTC time in display.