完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我使用PIC24FJ256DA210开发套件和3.5个“触摸显示模块”。这是我的第一个图形设计。我下载并安装了和声,但这是PIC32处理器。我找不到图形显示设计器。它不再支持了吗?我的设计很简单。我想显示一个对象的温度和期望的温度。我想要一个按钮来提高想要的温度和一个按钮来降低它。我找不到一个教程来教我如何做一个图形设计。我尝试使用视觉图形显示设计器,但很少有帮助资源。
以上来自于百度翻译 以下为原文 I'm using the pic24fj256da210 development kit with the 3.5" touch display module. This is my first graphics design. I downloaded and installed HARMony but that is for pic32 processors. I can't find the Graphics Display Designer. Is it no longer supported? My design is simple. I want to display the temp of an object and the desired temp. I'd like one button to raise the desired temp and one button to lower it. I can't find a tutorial showing me how to do a graphics design. I tried using Visual Graphics Display Designer but there are very few help resources for it. |
|
相关推荐
10个回答
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
这是我的第一个图形设计,它对我来说都是陌生的。是ReDebug函数EByDRAW(),它会在EddiBox文本集语句后面吗?(我用VGDD应用程序来做这件事,代码很难让我跟上)
以上来自于百度翻译 以下为原文 This is my first graphics design and it is all foreign to me. Is the redraw function EB_Draw() and would that go after the EditBoxTextSet statement? (I used the VGDD app to do this and the code is difficult for me to follow) |
|
|
|
我不敢肯定。在它的和谐版本中,需要设置对象的状态以绘制。没有样本代码吗?
以上来自于百度翻译 以下为原文 I am not sure. In the harmony version of it you need to set the state of the object to draw. There is no sample code? |
|
|
|
我有和谐安装,但这是PIC32 ~我使用PIC24FJ256DA210,有没有办法,我可以使用和谐的吗?
以上来自于百度翻译 以下为原文 I have harmony installed but that's for pic32 ~ I'm using the pic24fj256da210, is there a way I could use harmony for this? |
|
|
|
嗨,我想对于PIC24设备来说,使用MLA图形库V4.80对于PIC24和DSPIC33来说不会那么混乱,比开始把和声移植到PIC24上更糟。自从V3.0604以来,我就没有使用过图形库,但是在我的OPI中,有很多有各种按钮的示例代码。NION,学习按钮,甚至没有一个GUI布局工具,应该比传递和谐更快。问候,Mysil
以上来自于百度翻译 以下为原文 Hi, I think that for PIC24 devices, it will be less confusion by using MLA Graphics library v4.80 for PIC24 and dsPIC33, than starting to mess with porting Harmony to PIC24. I haven't used Graphics library since v3.06.04, but there used to be lots of example code with buttons of various kinds. In my opinion, learning to do buttons, even without a GUI layout tool, should be faster than porting Harmony. Regards, Mysil |
|
|
|
|
|
|
|
当使用Microchip应用程序库图形软件点击ButtOn1时,我无法获得编辑框来更新其文本。这里是Studio1消息回调函数(对不起,我不能附加代码,但它不会让我):iT16VT VGDDYStudi1MsgCalBe后退(IM160T ObjsMg,GFXGOL ObjyHead头*PoBJ,GFXGGOLYMETH消息*PMSG){It1616t ObjID;ObjID= GfxGoLoGoObjdGET(POBJ);开关(屏幕状态){CaseDISPLAYSURE SURENo:切换(ObjID){CaseIDyStudi1ButOn1:IF(ObjsMg= GGFxGOLL ButnOnActhOnPress){gfxgGoelEddiBox文本集((gfxgGoLeEdxBox *))gfxgGOLL ObjutSoIP(IdScript 1AddiBoxx1),(GFxxxCHAR *)空;ND(IdStudio1EddiBoxx1)、gfxgGoelEddixBoxDuffStand);}中断;默认/中断;} / /结束开关(ObjID)用于DePasyStudi1中断;默认值:中断;} / /结束开关(Stand状态)返回(1);}//EnvgDDD-Self1MsgCalbBein调试模式,代码将在EdtBox文本集函数,我尝试删除EddioBox中的文本。然后我尝试在EddioBox中设置状态,这样它就可以在没有文本的情况下重绘EddioBox,但是EddioBox没有被重新绘制。我尝试将GFxGoLeGeldEdBox文本集函数中的文本更改为“新文本”,并通过调试器进行调试,EddioBox文本出现更改(通过EddiBox文本集函数但SHIL不重画EddioBox)。从我可以知道的(通过调试器中的代码),不执行gfxgGoLoObjistStestEnter函数。调试器将通过gfxgGoLoObjStDebug函数,但不进入ObjestStestEnter函数。为什么EddItbox没有重画而没有文本呢?
以上来自于百度翻译 以下为原文 I can not get an EditBox to update its text when a Button1 is clicked using Microchip Application Library Graphics software. Here is the screen1 message callback function (sorry I could not attach the code but it won't let me): int16_t VGDD_screen1_MsgCallback(int16_t objMsg, GFX_GOL_OBJ_HEADER *pObj, GFX_GOL_MESSAGE *pMsg) { int16_t objId; objId = GFX_GOL_ObjectIDGet(pObj); switch (screenState) { case DISPLAY_SCREEN1: switch (objId) { case ID_Screen1_Button1: if (objMsg == GFX_GOL_BUTTON_ACTION_PRESSED) { GFX_GOL_EditBoxTextSet((GFX_GOL_EDITBOX *)GFX_GOL_ObjectFind(ID_Screen1_EditBox1), (GFX_XCHAR *) NULL); GFX_GOL_ObjectStateSet((GFX_GOL_EDITBOX *)GFX_GOL_ObjectFind(ID_Screen1_EditBox1),GFX_GOL_EDITBOX_DRAW_STATE); } break; default: break; } // End switch (objId) for DISPLAY_SCREEN1 break; default: break; } // End switch (screenState) return(1); } // End VGDD_screen1_MsgCallback In debug mode the code will stop at the EditBoxTextSet function where I try to delete the text in the EditBox. Then I try to set the state in the EditBox so that it will redraw the EditBox with no text in it but the EditBox is not getting redrawn. I've tried just changing the text in the GFX_GOL_EditBoxTextSet funtion to "new text" and stepping through the debugger the EditBox text appears to get changed (goes through the EditBoxTextSet function but sill it does not redraw the EditBox. From what I can tell (stepping through the code in the debugger the GFX_GOL_ObjectStateSet function is not executed. The debugger will step through the GFX_GOL_ObjectFind function but doesn't go into the objectStateSet function. Any ideas why the EdditBox is not getting redrawn to have no text in it? |
|
|
|
只有小组成员才能发言,加入小组>>
5243 浏览 9 评论
2035 浏览 8 评论
1955 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3208 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2258 浏览 5 评论
779浏览 1评论
672浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
598浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
682浏览 0评论
579浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-24 23:28 , Processed in 1.540630 second(s), Total 96, Slave 79 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号