完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
所以我有AEPD PICTHOP PLUS V2.0显示板和项目。该项目不使用和声,而是使用微芯片图形库API(这是与和声相同的东西吗?)我已经阅读了AN1136和AN1246,当然我有项目代码。如果我有关于如何使用或实现GOL对象哪些论坛是最合适的问题?感谢史蒂夫
以上来自于百度翻译 以下为原文 So I have a EPD PICtail Plus v2.0 display board and project. The project does not use HARMony but uses the Microchip Graphics Library APIs (Is that the same thing as Harmony?). I have read the AN1136 and AN1246 and of course i have the project code. If I have questions regarding how to use or implement GOL Objects which forum is the most appropriate? thanks Steve |
|
相关推荐
3个回答
|
|
和谐是从那些图书馆建立的,但这不再是同一回事了。
以上来自于百度翻译 以下为原文 Harmony was built from those libraries, but it is not the same thing any more |
|
|
|
我希望有人对Microchip图形库有一些经验,并且可以查看下面的初始化代码。我不能让我的文本对象出现。我创建它们,将它们添加到列表中。我看到GORDRAW绘制成功执行它们,但他们不出现在图形驱动程序更新后。在更新之后,我确实看到了图形原语。我认为问题可能在于设置文本颜色和背景颜色的方式,但我已经尝试了各种组合。我已经包括了我的模式和创建对象的代码。欢迎任何评论。感谢Steve我用来将文本添加到GOL列表的代码是…
以上来自于百度翻译 以下为原文 I hope someone has some experience with the microchip graphics library and can look at the initialization code below. I can not get my text objects to appear. I create them, which adds them to the list. I see the GOLDraw draw execute successfully them but they dont appear after the graphics driver updated. I do see graphics primitives after the update. I think the problem may be with the way that the text color and back ground colors are set up but I have tried every combination. I have included my schema and the code for creating the objects.. Any comments would be welcome.. thanks Steve void nbmc_gfx_init(void) {// set style nbmc_scheme // set text colors (text color 0, text color 1 and disabled text color) GFX_GOL_SchemeTextColorSet(&nbmc_scheme, BLACK, WHITE, WHITE);// set color0, color1 and disable color GFX_GOL_SchemeColorSet(&nbmc_scheme, BLACK,BLACK, WHITE);// set the common background color GFX_GOL_SchemeBackgroundColorSet(&nbmc_scheme, WHITE);// set the emboss colors and size GFX_GOL_SchemeEmbossSet(&nbmc_scheme, BLACK, BLACK, 1);GFX_GOL_SchemeFontSet(&nbmc_scheme, (GFX_RESOURCE_HDR*) & Verdana_Bold_12); GFX_GOL_SchemeBackgroundTypeSet(&nbmc_scheme, GFX_BACKGROUND_COLOR);// set the message callback function pointer GFX_GOL_MessageCallbackSet(nbmc_object_message_call_back); // set the draw callback function pointer GFX_GOL_DrawCallbackSet(nbmc_object_draw_call_back);strcpy(value_str, "1.7"); strcpy(temperature_str, "2.3"); strcpy(count_str, "ABCD"); strcpy(announce_str, "hello world");}The code I use to add the text to the GOL list is.. static void nbmc_gfx_add_temperature(void) { nbmc_temperature = GFX_GOL_StaticTextCreate( ID_TEXT_TEMP, CURRENT_CHAN_TEMP_START_X, CURRENT_CHAN_TEMP_START_Y, CURRENT_CHAN_TEMP_TEXT_X, CURRENT_CHAN_TEMP_TEXT_Y, GFX_GOL_STATICTEXT_DRAW_STATE, temperature_str, GFX_ALIGN_LEFT, &nbmc_scheme); } |
|
|
|
没关系,因此我使用相同的字符串来创建许多静态文本对象,这使它们具有相同的大小/长度,这显然是错误的。
以上来自于百度翻译 以下为原文 never mind, thus out I was using the same string for creating numerous static text objects..which gave them all the same size/length which clear was wrong. |
|
|
|
只有小组成员才能发言,加入小组>>
5183 浏览 9 评论
2005 浏览 8 评论
1932 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3178 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2229 浏览 5 评论
739浏览 1评论
626浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
511浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
637浏览 0评论
535浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-28 04:30 , Processed in 1.164692 second(s), Total 83, Slave 66 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号