kimodem/include/Display.h

34 lines
454 B
C++

#ifndef KIMODEM_DISPLAY_H
#define KIMODEM_DISPLAY_H
#include <Arduino.h>
#define ANSI_CLEAR_SCREEN "\33[2J"
/*
class Display {
public:
Display();
void Clear();
void Draw();
bool HasDisplay();
void Print(const char *);
void Println(const char *);
void SetCursor(int16_t x, int16_t y);
};
*/
#if defined(ADAFRUIT_OLED)
#include "internal/DisplayAdafruitOLED.h"
#else
#include "internal/DisplayNone.h"
#endif
static Display display;
#endif