12 namespace max7219digit {
29 public spi::SPIDevice<spi::BIT_ORDER_MSB_FIRST, spi::CLOCK_POLARITY_LOW,
30 spi::CLOCK_PHASE_LEADING, spi::DATA_RATE_1MHZ> {
34 void setup()
override;
68 void send_char(uint8_t chip, uint8_t data);
69 void send64pixels(uint8_t chip,
const uint8_t pixels[8]);
83 uint8_t
printdigit(uint8_t pos,
const char *str);
96 void send_byte_(uint8_t a_register, uint8_t data);
void set_flip_x(bool flip_x)
void intensity(uint8_t intensity)
void set_writer(max7219_writer_t &&writer)
void draw_absolute_pixel_internal(int x, int y, Color color) override
void dump_config() override
void set_chip_lines_style(ChipLinesStyle chip_lines_style)
void set_scroll(bool on_off)
void send64pixels(uint8_t chip, const uint8_t pixels[8])
A more user-friendly version of struct tm from time.h.
void send_to_all_(uint8_t a_register, uint8_t data)
optional< max7219_writer_t > writer_local_
void set_scroll_mode(ScrollMode mode)
void set_scroll_speed(uint16_t speed)
void set_scroll_delay(uint16_t delay)
uint8_t strftimedigit(uint8_t pos, const char *format, ESPTime time) __attribute__((format(strftime
Evaluate the strftime-format and print the result at the given position.
ChipLinesStyle chip_lines_style_
int get_height_internal() override
The SPIDevice is what components using the SPI will create.
void send_char(uint8_t chip, uint8_t data)
void set_num_chip_lines(uint8_t num_chip_lines)
std::vector< std::vector< uint8_t > > max_displaybuffer_
void set_num_chips(uint8_t num_chips)
BedjetMode mode
BedJet operating mode.
float get_setup_priority() const override
int get_width_internal() override
void turn_on_off(bool on_off)
uint16_t old_buffer_size_
std::function< void(MAX7219Component &)> max7219_writer_t
uint8_t uint8_t uint8_t printdigit(uint8_t pos, const char *str)
Print str at the given position.
void scroll(bool on_off, ScrollMode mode, uint16_t speed, uint16_t delay, uint16_t dwell)
enum esphome::EntityCategory __attribute__
uint8_t num_chips_
Intensity of the display from 0 to 15 (most)
uint8_t printdigitf(uint8_t pos, const char *format,...) __attribute__((format(printf
Evaluate the printf-format and print the result at the given position.
void send_byte_(uint8_t a_register, uint8_t data)
size_t get_buffer_length_()
void set_chip_orientation(uint8_t rotate)
void set_reverse(bool on_off)
uint8_t orientation_180_()
void set_intensity(uint8_t intensity)
uint8_t uint8_t display::DisplayType get_display_type() override
void set_scroll_dwell(uint16_t dwell)
void void void void void void strftime(int x, int y, BaseFont *font, Color color, TextAlign align, const char *format, ESPTime time) __attribute__((format(strftime
Evaluate the strftime-format format and print the result with the anchor point at [x...
void printf(int x, int y, BaseFont *font, Color color, Color background, TextAlign align, const char *format,...) __attribute__((format(printf
Evaluate the printf-format format and print the result with the anchor point at [x,y] with font.
Implementation of SPI Controller mode.
void IRAM_ATTR HOT delay(uint32_t ms)