#include <Arduino.h>
#include <U8g2lib.h>
#include <Wire.h> // library requires for IIC communication
U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE); // initialization for the used OLED display
void setup(void) {
u8g2.begin(); // start the u8g2 library
}
void loop(void) {
u8g2.clearBuffer(); // clear the internal memory
u8g2.setFont(u8g2_font_micro_tr); // set custom font
u8g2.drawStr(0, 30,">"); // print some message
u8g2.sendBuffer(); // transfer internal memory to the display
delay(2000); // two seconds delay, but we are only displaying a static text, so it makes no difference
}