45 VLCD(uint8_t addr = 0x5a) :
106 virtual void set_cursor(uint8_t x, uint8_t y);
128 virtual int write(
const void* buf,
size_t size);
158 virtual void on_request(
void* buf,
size_t size);
162 static const uint8_t MAJOR = 1;
163 static const uint8_t MINOR = 0;
166 static const uint8_t COMMAND = 255;
170 BACKLIGHT_OFF_CMD = 0,
175 } __attribute__((packed));
197 void write(uint8_t cmd);
virtual int write(const void *buf, size_t size)
virtual void backlight_on()
virtual void display_on()
virtual int write(const void *buf, size_t size)
void write_buf(void *buf, size_t size)
virtual int putchar(char c)
virtual void backlight_off()
Slave(LCD::Device *lcd, uint8_t addr=0x5a)
virtual void display_off()
void read_buf(void *buf, size_t size)
virtual void display_clear()
virtual void set_cursor(uint8_t x, uint8_t y)
virtual void on_request(void *buf, size_t size)
static const uint8_t BUF_MAX