kimodem/include/Display.h

26 lines
342 B
C
Raw Permalink Normal View History

2023-10-07 09:29:08 +00:00
#ifndef KIMODEM_DISPLAY_H
#define KIMODEM_DISPLAY_H
#include <Arduino.h>
#define ANSI_CLEAR_SCREEN "\33[2J"
2023-10-07 20:38:17 +00:00
namespace Display {
void Init();
void Clear();
void Clear(bool hint);
void Draw();
bool HasDisplay();
2023-10-07 09:29:08 +00:00
2023-10-07 20:38:17 +00:00
void Print(const char *);
void Println(const char *);
void SetCursor(int16_t x, int16_t y);
2023-10-07 09:29:08 +00:00
2023-10-07 20:38:17 +00:00
} // namespace Display
2023-10-07 09:29:08 +00:00
2023-10-07 20:38:17 +00:00
#endif