10static const uint8_t ST7567_BOOSTER_ON = 0x2C;
11static const uint8_t ST7567_REGULATOR_ON = 0x2E;
12static const uint8_t ST7567_POWER_ON = 0x2F;
14static const uint8_t ST7567_DISPLAY_ON = 0xAF;
15static const uint8_t ST7567_DISPLAY_OFF = 0xAE;
16static const uint8_t ST7567_SET_START_LINE = 0x40;
17static const uint8_t ST7567_POWER_CTL = 0x28;
18static const uint8_t ST7567_SEG_NORMAL = 0xA0;
19static const uint8_t ST7567_SEG_REVERSE = 0xA1;
20static const uint8_t ST7567_COM_NORMAL = 0xC0;
21static const uint8_t ST7567_COM_REMAP = 0xC8;
22static const uint8_t ST7567_PIXELS_NORMAL = 0xA4;
23static const uint8_t ST7567_PIXELS_ALL_ON = 0xA5;
24static const uint8_t ST7567_INVERT_OFF = 0xA6;
25static const uint8_t ST7567_INVERT_ON = 0xA7;
26static const uint8_t ST7567_SCAN_START_LINE = 0x40;
27static const uint8_t ST7567_COL_ADDR_H = 0x10;
28static const uint8_t ST7567_COL_ADDR_L = 0x00;
29static const uint8_t ST7567_PAGE_ADDR = 0xB0;
30static const uint8_t ST7567_BIAS_9 = 0xA2;
31static const uint8_t ST7567_CONTRAST = 0x80;
32static const uint8_t ST7567_SET_EV_CMD = 0x81;
33static const uint8_t ST7567_SET_EV_PARAM = 0x00;
34static const uint8_t ST7567_RESISTOR_RATIO = 0x20;
35static const uint8_t ST7567_SW_REFRESH = 0xE2;
39 void setup()
override;
void line(int x1, int y1, int x2, int y2, Color color=COLOR_ON)
Draw a straight line from the point [x1,y1] to [x2,y2] with the given color.
void init_mirror_x(bool mirror_x)
void draw_absolute_pixel_internal(int x, int y, Color color) override
void init_mirror_y(bool mirror_y)
void set_reset_pin(GPIOPin *reset_pin)
void display_sw_refresh_()
void set_invert_colors(bool invert_colors)
float get_setup_priority() const override
void set_scroll(uint8_t line)
const char * model_str_()
void init_invert_colors(bool invert_colors)
void set_all_pixels_on(bool enable)
int get_height_internal() override
virtual void command(uint8_t value)=0
void fill(Color color) override
void set_brightness(uint8_t val)
void set_contrast(uint8_t val)
void display_init_registers_()
virtual void write_display_data()=0
display::DisplayType get_display_type() override
size_t get_buffer_length_()
int get_width_internal() override
const float PROCESSOR
For components that use data from sensors like displays.
Providing packet encoding functions for exchanging data with a remote host.