Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
7c67b3be0This file is pinned to the selected release. Download the original to open it in your design tool.
#ifndef SPLASHSCREEN_H
#define SPLASHSCREEN_H
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#include <avr/pgmspace.h>
extern Adafruit_SSD1306 display;
const char splashScreenText[] PROGMEM = "DOTS 1.1";
char splashScreenTextBuffer[9];
void splashScreen() {
display.clearDisplay();
display.setTextSize(1);
display.setTextColor(WHITE);
display.fillCircle(10, 12, 9, WHITE);
display.fillCircle(18, 39, 7, WHITE);
display.fillCircle(110, 6, 5, WHITE);
display.fillCircle(89, 26, 8, WHITE);
display.fillCircle(61, 16, 13, WHITE);
display.fillCircle(42, 48, 12, WHITE);
display.setCursor(76, 57);
strcpy_P(splashScreenTextBuffer, splashScreenText);
display.print(splashScreenTextBuffer);
display.display();
}
#endif