Initial commit

This commit is contained in:
2018-01-24 17:51:07 +01:00
commit 1d74a399b5
341 changed files with 28906 additions and 0 deletions

30
src/UI.h Normal file
View File

@@ -0,0 +1,30 @@
//
// FILE: Ui.h
// VERSION: 0.1
// PURPOSE: User interface / OLED/LCD driver
//
//
#ifndef uiControllerLoaded
#define uiControllerLoaded true
#include "appDebug.h"
#include "ClockClient.h"
class Ui {
public:
Ui() {};
static void begin();
static void loop();
static void showSplashImage(const uint8_t *image, int width, int height);
static void showSplashImage_p(const uint8_t *image, int width, int height);
static void displayImage(int x, int y, const uint8_t *image, int width, int height);
static void displayImage_p(int x, int y, const uint8_t *image, int width, int height);
static void displayImageInverted(int x, int y, const uint8_t *image, int width, int height);
static void displayImageInverted_p(int x, int y, const uint8_t *image, int width, int height);
static void setTime(int _hour, int _minute, int _second);
private:
};
#endif