18 void setup()
override;
43 uint8_t
print(uint8_t pos,
const char *str);
45 uint8_t
print(
const char *str);
56 int get_command_code_(
char *destination,
size_t destination_size,
const char *needle,
const char *haystack);
int get_command_code_(char *destination, size_t destination_size, const char *needle, const char *haystack)
uint8_t printf(uint8_t pos, const char *format,...) __attribute__((format(printf
Evaluate the printf-format and print the result at the given position.
void set_cs_pin(GPIOPin *pin)
void set_data_pin(GPIOPin *pin)
optional< tm1621_writer_t > writer_
This class simplifies creating components that periodically check a state.
void set_write_pin(GPIOPin *pin)
bool send_common_(uint8_t common)
bool send_address_(uint16_t address)
void dump_config() override
enum esphome::EntityCategory __attribute__
std::function< void(TM1621Display &)> tm1621_writer_t
void set_writer(tm1621_writer_t &&writer)
uint8_t uint8_t uint8_t print(uint8_t pos, const char *str)
Print str at the given position.
bool send_command_(uint16_t command)
void display_humidity(bool d)
Implementation of SPI Controller mode.
void display_voltage(bool d)
void display_celsius(bool d)
void display_fahrenheit(bool d)
float get_setup_priority() const override
void set_read_pin(GPIOPin *pin)