APM:Libraries
Display_Backend.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "Display.h"
4 
5 #define NOTIFY_DISPLAY_I2C_ADDR 0x3C
6 
8 
9 public:
10 
11  virtual void hw_update() = 0;
12  virtual void set_pixel(uint16_t x, uint16_t y) = 0;
13  virtual void clear_pixel(uint16_t x, uint16_t y) = 0;
14  virtual void clear_screen() = 0;
15 
16 protected:
17 
18  virtual ~Display_Backend() {}
19 
20  virtual bool hw_init() = 0;
21 
22 };
virtual void set_pixel(uint16_t x, uint16_t y)=0
virtual void hw_update()=0
virtual bool hw_init()=0
virtual ~Display_Backend()
#define x(i)
virtual void clear_screen()=0
virtual void clear_pixel(uint16_t x, uint16_t y)=0