完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我用LCD控制器ILI9844编译了一个项目。缺少一个标题或一个C文件!构建/默认/生产/Exx/If9x8IL848,O:在函数“ILI948 8Lead Read”中:C:/BZ0SFZ/WorkStudio /MPLABXPixs/Orthy/V2Y05Y01/App/LCDA/T1/固件/SRC/StulySCOFIG/DESTRAP/Frx/Gfx/Distv/GFRX/IL948 8/DRVY-GFXILI988. C:139:未定义的“BSPI DISPLASPRESETSTA”TeTe'Cys/WorkStudio /M2AbxWorks/Orths/V2Y05Y01/APPL/LCDA/T1/固件/SRC/StulySCOFIG/DEFF/GFS/GFX/DIVH988/DRVYFGFXILI948。C:/用户/BZ0SFZ/WorkStudio /MPLABXPixs/Orthy/V2Y05Y01/App/LCDA1/T1/固件Re/Src/Stuly/Fix/Grf/Gfx/Distv/GFIXIL988. C:143:未定义的“BSPDISPLAESREST STATESET”构建/默认/生产/OXEX/133533591 /DRVY-GFXILI988. O:在函数“ILI948 8UpUPDATE”中:C:/BZ0SFZ/WorkStudio /MPLABXPixs/Orthy/V2Y05Y01/App/LCDA1/T1/固件/SRC/StulySCOFIG/DEFF/GFX/GUX/DIVH988/DRVYFGFXILI948。C:404:未定义的“BSPI DeBaseBaseListStuteStE`Buff/Deule/Studio/OutExt/Dist/ 133533591 /DRVY-GFXIIL948 8. O:在函数ILI948 8销毁”:在以下函数的每次调用中发生:BSPIL ILIFNDEF DVVIGFXILI9988AUM988AUMYHY/H*防止多个包包含*/VixGFXILI988AUMYORYH定义ILI948 8SPIXSSYAsHealt()BSPILI948 8SPIXCSXSTATESET(0)定义ILI948 8SPIXSSYDEASAUTHER()BSPILI948 8SPIXCSXSTATESET(1)定义ILI948 8SPIXDCXX命令()BILILI988A SPIXDCXST I988XXXXXX等(0)定义ILI988xSPIXDCXYDATA()bILI9888SPIXDCXSTATESET(1)定义ILI948 8ReSeTyAsHead()BSPDePaseReStestStESET(0)定义ILI948 8LeSeTyDeAsHead()BSPDePaseReStestStESET(1)定义ILI948 8BaseLead()BSPI DeBaseBaseListStuteSET(1)定义ILI948 8BuffListiON()BSPDISPLACK LISLI阿特塞特GHTSTATESET(0)
以上来自于百度翻译 以下为原文 I got errors compiling a project using LCD controller ILI9844. Something is missing a header or a C file!! build/default/production/_ext/133533591/drv_gfx_ili9488.o: In function `ILI9488_Reset': c:/users/bz0sfz/workspace/mplabxprojects/hARMony/v2_05_01/apps/lcd_t1/firmware/src/system_config/default/framework/gfx/driver/controller/ili9488/drv_gfx_ili9488.c:139: undefined reference to `BSP_DisplayResetStateSet' c:/users/bz0sfz/workspace/mplabxprojects/harmony/v2_05_01/apps/lcd_t1/firmware/src/system_config/default/framework/gfx/driver/controller/ili9488/drv_gfx_ili9488.c:141: undefined reference to `BSP_DisplayResetStateSet' c:/users/bz0sfz/workspace/mplabxprojects/harmony/v2_05_01/apps/lcd_t1/firmware/src/system_config/default/framework/gfx/driver/controller/ili9488/drv_gfx_ili9488.c:143: undefined reference to `BSP_DisplayResetStateSet' build/default/production/_ext/133533591/drv_gfx_ili9488.o: In function `ILI9488_Update': c:/users/bz0sfz/workspace/mplabxprojects/harmony/v2_05_01/apps/lcd_t1/firmware/src/system_config/default/framework/gfx/driver/controller/ili9488/drv_gfx_ili9488.c:404: undefined reference to `BSP_DisplayBacklightStateSet' build/default/production/_ext/133533591/drv_gfx_ili9488.o: In function `ILI9488_Destroy': It happens at every call at the following functions: BSP_ILI9488XXXXXx etc #ifndef DRV_GFX_ILI9488_COMMON_H /* Guard against multiple inclusion */ #define DRV_GFX_ILI9488_COMMON_H #define ILI9488_SPI_SS_Assert() BSP_ILI9488_SPI_CSXStateSet(0) #define ILI9488_SPI_SS_Deassert() BSP_ILI9488_SPI_CSXStateSet(1) #define ILI9488_SPI_DCX_Command() BSP_ILI9488_SPI_DCXStateSet(0) #define ILI9488_SPI_DCX_Data() BSP_ILI9488_SPI_DCXStateSet(1) #define ILI9488_Reset_Assert() BSP_DisplayResetStateSet(0) #define ILI9488_Reset_Deassert() BSP_DisplayResetStateSet(1) #define ILI9488_Backlight_On() BSP_DisplayBacklightStateSet(1) #define ILI9488_Backlight_Off() BSP_DisplayBacklightStateSet(0) |
|
相关推荐
2个回答
|
|
细节,细节,细节:这些信息将有助于尝试诊断你的问题:什么版本的MPLAB?X?什么版本的和声?你安装了MHC插件的正确版本吗?什么版本XC32编译器?目标处理器是什么?你使用的是什么BSP?如果在ARIAYQualStEnk中的函数NAMEBSPDISPLASPRESETStESTE上做一个GRIP,你会看到很多点击。以下是SypLyCyf.h文件中的一个示例部分:/b*DePosialPosithPin ***/y*定义BSPYDISPLASETETGORGLE()PLIB PosisSpToGoGLE(PoxsSIDID0,PotoShannEngulb,PosisS.BiPosiPosi11)定义BSPI DePosiReSeTon()PrbsiPosisSpPoSET(PoxsSIDID0,PotoShannEngB,PosisS.BiToPosi11)精细BSPixDePraseReTo()PrBixPosisS.PixCar(PosisSIDIO0,PosithChhanelyB,PosisS.BiPosiPase11)定义BSPDePaseReStEdgTeTo()PrBiPurtPosisPieltLeCd(PoxsSIDID0,PotoShannEngulb,PosisStIdPosiPase11)定义BSPDePaseReStestStESET(值)PrBixPosisSpIDENT(PoxsSIDID0,PotoShannEngB,PosisS.BITPyPase]11,价值,所以显然你需要定义“显示重置”作为PIPIN管理器的GPIO输出引脚。
以上来自于百度翻译 以下为原文 Details, Details, Details: This information would be helpful in trying to diagnose your problem:
/*** Functions for BSP_DisplayReset pin ***/ #define BSP_DisplayResetToggle() PLIB_PORTS_PinToggle(PORTS_ID_0, PORT_CHANNEL_B, PORTS_BIT_POS_11) #define BSP_DisplayResetOn() PLIB_PORTS_PinSet(PORTS_ID_0, PORT_CHANNEL_B, PORTS_BIT_POS_11) #define BSP_DisplayResetOff() PLIB_PORTS_PinClear(PORTS_ID_0, PORT_CHANNEL_B, PORTS_BIT_POS_11) #define BSP_DisplayResetStateGet() PLIB_PORTS_PinGetLatched(PORTS_ID_0, PORT_CHANNEL_B, PORTS_BIT_POS_11) #define BSP_DisplayResetStateSet(Value) PLIB_PORTS_PinWrite(PORTS_ID_0, PORT_CHANNEL_B, PORTS_BIT_POS_11, Value) So apparently you need to define "DisplayReset" as a GPIO output pin in the Pin Manager. |
|
|
|
在PIN设置管理器中设置重置和背光管脚吗?在V2.05中,ILI948驱动程序管理复位和背光管脚到显示器。如果您有已经控制重置和背光PIN的应用程序代码,您可以注释掉无法建立IdRvvgGFxILI948 8C的重置和背光代码。
以上来自于百度翻译 以下为原文 Did you set the reset and backlight pins in the Pin Settings Manager? In v2.05 the ILI9488 driver manages the reset and backlight pins to the display. If you have application code that already controls the reset and backlight pins, you can comment out the reset and backlight code that fails to build in drv_gfx_ili9488.c. |
|
|
|
只有小组成员才能发言,加入小组>>
5008 浏览 9 评论
1923 浏览 8 评论
1856 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3072 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2145 浏览 5 评论
579浏览 1评论
439浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
478浏览 0评论
376浏览 0评论
IPECMD命令烧录AVR128DA48芯片,报找不到芯片错误
858浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-8-20 04:13 , Processed in 1.190759 second(s), Total 79, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191