I built the firmware using the source from LilyGO's lilygo-micropython repository and successfully flashed it onto the T-Display S3 AMOLED Plus board.
Everything worked fine until I ran the following example
import tft_config
import logo
import gc
import time
gc.enable()
disp = tft_config.config()
disp.rotation(1)
disp.bitmap(0, 0, logo.WIDTH, logo.HEIGHT, logo.BITMAP)
time.sleep(1)
disp.deinit()
del tft_config
del logo
del disp
gc.collect()
I received this error at the line disp = tft_config.config():
"TypeError: 'dc' argument required"
I've reviewed the tft_config.py file and found that config() does not explicitly take a dc argument. Is there a mismatch between the example and the driver, or am I missing a required initialization step?