#include <Wire.h>
#include <U8g2lib.h>
// u8g2 constructor
U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, U8X8_PIN_NONE);
void setup() {
// Set custom I2C pins for Wire (default I2C bus)
//Wire.setSDA(14); // my custom I2C data pin
//Wire.setSCL(15); // my custom I2C clock pin
Wire.begin();
// begin u8g2 after Wire is properly configured
u8g2.begin();
// Draw something
u8g2.firstPage();
do {
u8g2.setFont(u8g2_font_6x10_tr);
u8g2.drawStr(0, 12, "Hardware I2C on 4/5");
} while (u8g2.nextPage());
}
void loop() {
unsigned long now = millis();
}