esphome / esphome/feature-requests

Sleep mode for the st7789v

Open
#2,109 0 comments 0 reactions 0 assignees View on GitHub
component: st7789v
Dominant language
No language data
Stars
450
Forks
29
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem you have/What new integration you would like**

Please add public method sleep(bool onoff) for the st7789v module.

**Please describe your use case for this integration and alternatives you've tried:**

Something like that:
void sleep(bool onoff) {
this->write_command_(onoff ? ST7789_SLPIN : ST7789_SLPOUT);
//etc
}
It's useful for displays without backligth pin.

**Additional context**

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the st7789v module and reading its existing public display-control methods and command-writing path. Add the requested sleep(bool onoff) behavior using the ST7789_SLPIN and ST7789_SLPOUT commands, then verify that displays without a backlight pin can enter and leave sleep mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
embedded-iot
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.