#include "splash.h" #include const uint8_t splash_chars[64] = { 0x20, 0xdf, 0xe9, 0x20, 0xa0, 0xa0, 0xa0, 0xa0, 0x20, 0xdf, 0xe9, 0x20, 0xa0, 0xa0, 0xa0, 0xa0, 0x55, 0x55, 0x49, 0x49, 0xa0, 0xd5, 0xc9, 0xa0, 0x55, 0x55, 0x49, 0x49, 0xa0, 0xd5, 0xc9, 0xa0, 0x4a, 0x57, 0x57, 0x4b, 0xa0, 0xca, 0xcb, 0xfe, 0x4a, 0x57, 0x57, 0x4b, 0xa0, 0xca, 0xcb, 0xfe, 0x20, 0x4a, 0x4b, 0x20, 0xa0, 0xea, 0xf4, 0xa0, 0x20, 0x4a, 0x4b, 0x20, 0xa0, 0xea, 0xf4, 0xa0, }; int splash_draw(ssd1306_t *display) { for (int i = 0; i < 64; i++) { int ret = ssd_putscr(display, splash_chars[i], false); if (ret < 0) { return ret; } } return PICO_OK; }