你好,在我的项目中,我想根据某个值更改 TextArea 的字体。首先,我创建了一个地形应用到 TouchGFX 中。我想这是做的好方法。其次,我想知道如何将它应用到我的 TextArea 上?如何找到排版名称以及如何应用它?我试过类似的东西:Cont_LM_Simple_2_txt_lift_current_kg.setTypedText(touchgfx::TypedText());但我并没有设法找到如何设置我的新版式。
2022-12-27 08:45
我刚刚开始制作我的第一个PSoC组件,我对一些事情有点困惑。我做了一个部分的示意图,但我不知道如何访问我在我的示意图中放置的硬件。例如,我在我的示意图中包括了五个数字输出引脚。如何访问API文件中的这些引脚?在项目中使用组件时,您可以生成应用程序,然后您可以使用这些组件自动生成的API访问硬件,但是当我试图为组件中的示意图生成应用程序时,PIN的API文件似乎没有被制作出来。我已经阅读了组件作者指南,但我找不到这个信息。我确信答案很简单,但我就是想不出来该怎么做!我现在正在使用PSoC Creator 2.2。谢谢您! 以上来自于百度翻译 以下为原文I just started working on making my first PSoC component, and I am a little bit confused about something. I did a schematic of the part, but I'm not sure how to access the hardware that I put in my schematic. For example, I included five digital output pins in my schematic. How do I access those pins in my API files? When using components in a project you generate the application, and then you can use that components autogenerated API to access the hardware, but when I try to generate an application for the schematic in my component the API files for the pins don't seem to be made? I've read through the component author guide, but I can't find this information. I'm sure the answer is super simple, but I just can't think of how to do it! I am using PSoC Creator 2.2 at the moment. Thank you!
2019-07-05 06:38
Android系统和汽车有什么关系?Android车载嵌入式操作系统怎么样?
2021-12-27 07:44