15 public spi::SPIDevice<spi::BIT_ORDER_MSB_FIRST, spi::CLOCK_POLARITY_HIGH, spi::CLOCK_PHASE_TRAILING,
16 spi::DATA_RATE_200KHZ> {
24 void setup()
override;
40 void data_(uint8_t value);
42 void goto_xy_(uint16_t x, uint16_t y);
int get_width_internal() override
void draw_absolute_pixel_internal(int x, int y, Color color) override
optional< st7920_writer_t > writer_local_
void set_writer(st7920_writer_t &&writer)
void set_width(uint16_t width)
std::function< void(ST7920 &)> st7920_writer_t
display::DisplayType get_display_type() override
void fill(Color color) override
int get_height_internal() override
void dump_config() override
void send_(uint8_t type, uint8_t value)
void command_(uint8_t value)
The SPIDevice is what components using the SPI will create.
void goto_xy_(uint16_t x, uint16_t y)
void set_height(uint16_t height)
void start_transaction_()
float get_setup_priority() const override
void write_display_data()
Implementation of SPI Controller mode.
size_t get_buffer_length_()
void data_(uint8_t value)