JC3248W550 rotate screen

Hi all.

LVGL (9.2.2) MicroPython (1.25.0) Binding compiled on 2025-06-27; Generic ESP32S3 module with Octal-SPIRAM with ESP32S3

Type "help()" for more information.

Any one know how to rotate display screen ??
I use this code :


import lv_config
import lvgl as lv

HEIGHT  = 480#lv_config.HEIGHT
WIDTH   = 320#lv_config.WIDTH


# Musi nejaky proces bezat na pozadi inac to nebude fungovat
import task_handler
th = task_handler.TaskHandler()

#Aktivuje scree
scr = lv.screen_active()
lv.screen_load(scr)
#nastavi farbu pozadia na ciernu
scr.set_style_bg_color(lv.color_hex(0x000000), 0)

# --- Vytvorenie Text Area (textové pole) ---
ta = lv.textarea(scr)
ta.set_width(300)
ta.set_height(80)
ta.set_placeholder_text("Zadajte text...")
ta.align(lv.ALIGN.TOP_MID, 0, 20) # Umiestni ho v hornej časti

# --- Vytvorenie Klávesnice ---
kb = lv.keyboard(scr)
kb.set_size(lv.pct(100), lv.pct(70)) # Nastav šírku na 100% a výšku na 50% obrazovky
kb.align(lv.ALIGN.BOTTOM_MID, 0, 0) # Umiestni ju dole
kb.set_textarea(ta) # Automaticky prepojí klávesnicu s text area

# Nastavíme počiatočnú výšku klávesnice na 0, aby bola skrytá
# Uložme si pôvodnú výšku, aby sme ju mohli vrátiť
ORIGINAL_KB_HEIGHT = lv.pct(70) # Zhoduje sa s kb.set_size() vyššie
kb.set_height(0) # Skryjeme klávesnicu nastavením výšky na 0

# --- Funkcia pre udalosť Text Area ---
def ta_event_cb(event):
    code = event.get_code()
    
    # Použijeme priamu referenciu na 'kb' klávesnicu,
    # aby sme predišli problémom s event.get_target() ak by tu nastali
    
    if code == lv.EVENT.CLICKED or code == lv.EVENT.FOCUSED:
        # Zobraz klávesnicu nastavením jej pôvodnej výšky
        kb.set_height(ORIGINAL_KB_HEIGHT)
        kb.set_textarea(ta) # Prepoj klávesnicu s text area
    elif code == lv.EVENT.DEFOCUSED:
        # Ak klikneme mimo text area, skry klávesnicu
        kb.clear_textarea() # Odpojí klávesnicu od text area
        kb.set_height(0) # Skryjeme klávesnicu nastavením výšky na 0

ta.add_event_cb(ta_event_cb, lv.EVENT.ALL, None) # Použijeme ALL pre FOCUS/DEFOCUS

Keyboard is too small in this mode , need rotate 90 … any help me ???
I use code from straga : https://github.com/straga/micropython_lcd

Rotation only software - hardware not supported. Need to wait until it finishes: Big update to the lcd bus classes · lvgl-micropython/lvgl_micropython@98f65e4 · GitHub

OK.

Does anyone have a working code for software rotation? Thanks.
Small example…