adafruit / adafruit/Adafruit_CircuitPython_ST7735R

Any way to disable junk/garbage on screen during initialization

Open
#34 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
20
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Hello,

I am using a ST7755S based 1.7" display (160x128). When i go to setup the SPI bus in circuitpython and then initialize this ST7735R driver, the screen usually displays garbage, then wipes clean the display, and then carries on. Is there anyway to blank the display before the garbage display? My display does not have a separate LED pin so i cant use PWM dim the display so the garbage is not seen.

I looked at the initi sequence of commands for this driver and i wonder if there is any modification there like using the command 28h DISP_OFF to turn off the display before any of the other init commands are run? it would just be nice to start up my device to a black screen and then my program begins.

Unless someone knows a way to dim the screen with no dedicated LED pin.

here are the commands i am using to initialize the display:

```
display_bus = displayio.FourWire(tft_spi, command=tft_dc, chip_select=tft_cs, reset=tft_reset, baudrate=50000000)
display = ST7735R(display_bus, width=160, height=128, rotation=90, bgr=True)
group = displayio.Group()
```

Thanks all

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the ST7735R initialization command sequence and the FourWire setup shown in the issue, focusing on when the display becomes visible during reset and initialization. Check whether DISP_OFF can be applied before the other initialization commands without preventing startup. Done means the display starts black instead of showing garbage, then initializes normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.