Apple1-esp/terminal_disp.h

18 lines
276 B
C
Raw Normal View History

2024-10-12 13:40:55 +00:00
#ifndef __TERMINAL_DISP_H__
#define __TERMINAL_DISP_H__
class terminal_disp: public disp {
public:
terminal_disp(Print &p): _p(p) {}
void checkpoint(Stream &) {}
void restore(Stream &) {}
void status(const char *);
void write(uint8_t);
private:
Print &_p;
};
#endif