#include <Arduino.h>
#include <U8g2lib.h>
#include <Wire.h>
U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE);
static const unsigned char batt[] U8X8_PROGMEM = {
0xfc, 0xff, 0x3f,
0x04, 0x00, 0x20,
0x07, 0x00, 0x20,
0x05, 0x00, 0x20,
0x05, 0x00, 0x20,
0x07, 0x00, 0x20,
0x04, 0x00, 0x20,
0xfc, 0xff, 0x3f
};
void setup() {
u8g2.begin();
u8g2.clearBuffer();
u8g2.drawXBMP(35, 20, 22, 8, batt);
u8g2.sendBuffer();
}
void loop(void) {}