完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
背景:MPLAB X IDE 4、XC32 V1.44、和声V2.04、PIC32 MZ2064 DAG176、NEWHAVEN 4.3“显示四线电阻触摸屏(ST722T2内部控制器)、内部DDR。Nano2D库中有一个缺陷:90°定向不起作用。如果你开始一个干净的项目,并且只需在设计者上放置一个按钮,那么结果将是一个0°方向的显示。查看LbNeN2DyHal.C及其对应的FTL文件,可以看到N2DY0是硬编码的。我把所有的例子都改成了N2DY90,它看起来是正确的,但是屏幕的底部并不能很好地画出来。我知道你们刚刚完成推出2.04,但是如果你有一些剩余的话,我可以在这里使用一些帮助。
以上来自于百度翻译 以下为原文 Background: MPLAB X IDE 4.00, XC32 v1.44, HARMony v2.04, PIC32MZ2064DAG176, Newhaven 4.3" display with 4-wire resistive touch panel (ST7282T2 internal controller), internal DDR. There is a bug in the nano2D library: 90° orientation does not work. If you start a clean project, and literally just place a button on the designer, then the outcome will be a 0° orientation display. Looking at libnano2D_hal.c, and its corresponding ftl file, you can see that N2D_0 is hardcoded. I changed all instances to N2D_90 and it looks like it is orienting correctly, but the bottom part of the screen doesn't quite draw correctly. I know you guys just got finished pushing out 2.04, but if you have some juice left then I could really use some help here. |
|
相关推荐
3个回答
|
|
B祝福,在测试与面向FGFXQuestDead演示的方向的变化时,当屏幕的方向被设置为非DeReE0 0值时,我们已经看到了类似的问题。例如,在DeReE90中,我们观察到由驱动包装器API创建的背景填充矩形将呈现在DEG上。ReEY0当屏幕设置为Reale90时。个别线条和BLITE也呈现在DeReEX0中。我们没有看到硬件或驱动程序的任何问题。我们主要着眼于修改瘦驱动程序包装器来解决这个问题。可以使用附加的FTL文件(LBNAN22DYHAL.C)对所观察到的问题进行短期修复。该文件应放置在:~FrasegfxDavaStudioNava2D2模板中。请注意!文件必须重命名为“LBNAN22DYHAL.C.FTL”。此外,还应该执行MHC生成步骤来为您的应用程序生成正确的代码。请让我知道这个补丁是否修复了您的问题。是的,在V2.05中寻找更长期的解决方案。
以上来自于百度翻译 以下为原文 bblessing, In testing changes with orientation against the GFX_Quickstart demo, we have seen similar issues when orientation for a screen is set to a non-Degree_0 value. For example, at Degree_90, we observed that background filled rectangles created by the driver wrapper api would be rendered at Degree_0 when the screen setting is Degree_90. Individual lines and blits also are rendered at Degree_0. We do not see any issues with the hardware or driver. We primarily look to modify the thin-driver wrapper to fix the problem. A short-term fix for the observed issues can be patched using the attached ftl file (libnano2D_hal.c). The file should be placed at: ~frameworkgfxdriverprocessornano2dtemplates. Please note! The file must be renamed to "libnano2D_hal.c.ftl". In addition, a MHC generation step should also be performed to produce the correct code for your application. Please let me know if this patch fixes your issue. Yes, look for a more long term solution in v2.05. Attachment(s) libnano2D_hal.c (15.48 KB) - downloaded 140 times |
|
|
|
自动化,谢谢!我查一下然后再给你答复。
以上来自于百度翻译 以下为原文 automate, Thank you! I'll check it out and get back to you. |
|
|
|
自动化,它仍然有一些问题,但它比我搞砸了要好。在一个规则的频率(1赫兹?)按钮看起来像是人工制品。它看起来像按钮的部分改变颜色到一个较浅的灰色阴影,这是更明显的,当从一个角度看屏幕。据说,斜切,定向,其他一切看起来都很棒。
以上来自于百度翻译 以下为原文 automate, There is still something wrong with it, but it's better than when I was messing with it. At a regular frequency (1 Hz?), the buttons appear to have artifacts. It looks like parts of the buttons change color to a lighter shade of grey; this is more visible when looking at the screen from an angle. That having been said, beveling, orientation, everything else looks great. |
|
|
|
只有小组成员才能发言,加入小组>>
5183 浏览 9 评论
2005 浏览 8 评论
1932 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3178 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2229 浏览 5 评论
739浏览 1评论
624浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
510浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
637浏览 0评论
535浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-27 15:32 , Processed in 1.307775 second(s), Total 81, Slave 64 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号