运行例程时偶尔会显示会出现屏幕画面撕裂的问题

Viewed 145

重现步骤
运行例程时偶尔会显示会出现屏幕撕裂的问题
包括AI例程或者自己写的动效比较多的LVGL程序

IDE的帧缓冲区和LCD屏幕上都能看到撕裂现象

============ 1.11 补充 ====================
01Studio开发板,12.18号更新的固件

这个程序会出现撕裂现象:

import time, os, sys

# 导入摄像头、显示以及多媒体管理模块
from media.sensor import * 
from media.display import * 
from media.media import * 

sensor = Sensor() 

sensor.reset() 

sensor.set_framesize(width=800, height=480)


sensor.set_pixformat(Sensor.RGB565) 
sensor.height()) 
Display.init(Display.ST7701,to_ide=True) 

MediaManager.init() 

sensor.run() 
clock = time.clock()


while True:
    img = sensor.snapshot()
    
   
    center_x = 320  # 640/2
    center_y = 240  # 480/2
    
   
    img.draw_circle(center_x, center_y-70, 40, color=(50, 100, 255), fill=True)
    
    img.draw_circle(center_x-15, center_y-80, 8, color=(255, 255, 255), fill=True)
    img.draw_circle(center_x+15, center_y-80, 8, color=(255, 255, 255), fill=True)
    img.draw_circle(center_x-15, center_y-80, 4, color=(0, 0, 255), fill=True)
    img.draw_circle(center_x+15, center_y-80, 4, color=(0, 0, 255), fill=True)
    
    img.draw_line(center_x-20, center_y-110, center_x-30, center_y-140, color=(50, 100, 255), thickness=3)
    img.draw_line(center_x+20, center_y-110, center_x+30, center_y-140, color=(50, 100, 255), thickness=3)

    clock.tick()
    Display.show_image(img)
    print(clock.fps()) #打印FPS
1 Answers

你好,请问使用的是什么板子,什么版本的固件,以及方便发一下复现脚本吗?

您好,有问题的代码已更新在提问里