65 uint8_t col, maxcol, p;
67 for (p = 0; p < 6; p++) {
77 for (; col <= maxcol; col++) {
92 uint8_t subpos =
y % 8;
97 LOG_DISPLAY(
"",
"PCD8544",
this);
98 LOG_PIN(
" DC Pin: ", this->
dc_pin_);
100 LOG_UPDATE_INTERVAL(
this);
117 Display::fill(color);
121 uint8_t
fill = color.
is_on() ? 0xFF : 0x00;
virtual void digital_write(bool value)=0
void init_internal_(uint32_t buffer_length)
Rect get_clipping() const
Get the current the clipping rectangle.
const uint8_t PCD8544_EXTENDEDINSTRUCTION
int get_width_internal() override
const uint8_t PCD8544_SETYADDR
const uint8_t PCD8544_SETVOP
int get_height_internal() override
size_t get_buffer_length_()
const uint8_t PCD8544_FUNCTIONSET
void draw_absolute_pixel_internal(int x, int y, Color color) override
const uint8_t PCD8544_SETXADDR
const uint8_t PCD8544_SETBIAS
void command(uint8_t value)
void fill(Color color) override
const uint8_t PCD8544_DISPLAYNORMAL
const uint8_t PCD8544_DISPLAYCONTROL
void dump_config() override
void spi_setup() override
void write_byte(uint8_t data)
ESPHOME_LOG_TAG(TAG, "pcd_8544")
ESPHOME_ALWAYS_INLINE constexpr void assign_bits(T &value, std::type_identity_t< T > mask, bool on)
Set the bits of mask in value when on is true, clear them otherwise.
void HOT delay(uint32_t ms)
bool is_on() ESPHOME_ALWAYS_INLINE