#include "U8glib.h"
#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_DEV_0 | U8G_I2C_OPT_NO_ACK | U8G_I2C_OPT_FAST); // Fast I2C / TWI
// ' fuel pressure symbol', 24x24px
const unsigned char epd_bitmap__fuel_pressure_symbol [] PROGMEM = {
0x01, 0x83, 0x00, 0x01, 0x83, 0x00, 0x01, 0x83, 0x00, 0x01, 0x83, 0x00, 0x01, 0x83, 0x00, 0x01,
0x83, 0x00, 0x03, 0x01, 0x80, 0x06, 0x00, 0xc0, 0x0c, 0x00, 0x60, 0x18, 0x00, 0x30, 0xf2, 0x10,
0x9e, 0x02, 0x28, 0x80, 0x02, 0x28, 0x80, 0xfe, 0x44, 0xfe, 0x02, 0x44, 0x80, 0x02, 0x44, 0x80,
0xf2, 0x38, 0x9e, 0x18, 0x00, 0x30, 0x0c, 0x00, 0x60, 0x06, 0x00, 0xc0, 0x03, 0x01, 0x80, 0x01,
0x83, 0x00, 0x00, 0x6c, 0x00, 0x00, 0x38, 0x00
};
int progress = 0;
void setup() {
u8g.setFont(u8g_font_tpssb);
u8g.setColorIndex(1);
}
void loop() {
u8g.firstPage();
do {
// u8g.drawStr(25, 50, "Progress Bar");
// u8g.drawFrame(0, 10, 128, 20);
// u8g.drawBox(10, 15, progress, 10);
// } while ( u8g.nextPage() );
u8g.drawBitmapP( 5, 35, 24 / 8, 24, epd_bitmap__fuel_pressure_symbol);
} while (u8g.nextPage() );
}