完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
哪个参数可以用作我的屏幕完全重画并显示在屏幕上的标志?我需要做一些功能,在第一次展示时,我会用一些细节,我想使用事件“显示”,但是它们被称为0,5s,我看到了新的屏幕显示。这个等待时间太大了,这个延迟是正常的吗?我知道屏幕不是轻的(双缓冲,JPG作为后台),但是…?
以上来自于百度翻译 以下为原文 Which parameter can be used as as flag that my screen is completly redraw and display on the screen?. I need make some function who init some detail at first show, I think to use event "on show" but they are called about 0,5s betwen i see new screen on display. This latency is too big. Whatever, this latency is normal?. I know that screen is not light (double buffering, jpg as backgroun) but... ? |
|
相关推荐
2个回答
|
|
|
我不确定,但是下面的代码在App.c中怎么样?YTS
以上来自于百度翻译 以下为原文 I am not sure, but how about the following codes in app.c? case APP_STATE_SERVICE_TASKS: { laContext* context = laContext_GetActive(); if (context->activeScreen->id == 0 && context->activeScreen->layers[0]->widget.drawState == LA_WIDGET_DRAW_STATE_DONE) { SYS_PORTS_PinSet(PORTS_ID_0, PORT_CHANNEL_C, PORTS_BIT_POS_15); //turn on a LED after showing a layer, for example appData.state = APP_STATE_SERVICE_TASKS1; } break; } case APP_STATE_SERVICE_TASKS1: { break; } yts |
|
|
|
|
|
HY-TS,与ActueScript ID检查相结合,可以使用ApSaleNoTutsIsDRAP()。它是对设计中每一层的绘制状态的更全面的检查,而不仅仅是第一层,如代码片段中所示。
以上来自于百度翻译 以下为原文 Hi yts, In conjunction with with the activeScreen ID check, you can use the APIs laContext_IsDrawing() . It is a more comprehensive check of the draw state of every layer in your design and not just the first layer, as shown in the code snippet. |
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
490 浏览 0 评论
5806 浏览 9 评论
2346 浏览 8 评论
2234 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3541 浏览 3 评论
1146浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1115浏览 1评论
我是Microchip 的代理商,有PIC16F1829T-I/SS 技术问题可以咨询我,微信:A-chip-Ti
883浏览 1评论
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
490浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-10 01:28 , Processed in 1.013656 second(s), Total 74, Slave 57 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
246