完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好。
我是一个使用PSOC4LE工具包的学生。我想应用一个简单的LED操作。 如果我给你一个数据使用cysmart APP添加服务、我想送一个aduino通过UART工作在Aduino。它怎么不能在源代码中进行呢? 你能帮我一下吗? 我附上了一张照片,让它更容易理解。 4.PNG 5.5 K 3.PNG 10.6 K 2.PNG 9.8 K 1.PNG 33.5 K 以上来自于百度翻译 以下为原文 Hello. I am a student using PSOC4 BLE KIT. I'd like to apply a simple LED operation. If I send you a data using Cysmart app by adding a service to BLE, I would like to send a to Aduino via UART to operate in Aduino. How could it not proceed in the source code? Can you give me a hand? I have attached a photo to make it easier to understand. |
|
相关推荐
9个回答
|
|
你好,
你的ARDUINO代码看起来不错。 请检查您的USAT TX引脚从PSOC4 BLE工具包连接到正确的RX引脚在阿杜伊板。 此外,在将PSoC4BLE工具包连接到ARDUINO板之前,您可以使用任何串行终端(TARA术语/腻子),并且可以查看您是否正确地通过UART发送数据(来自CySMART>PSoC BLE KIT & GT;串行终端)。 当使用PSoC 4 BLE工具包时,需要将UART TX引脚连接到P1.5以在串行终端上发送数据。 -吉安 以上来自于百度翻译 以下为原文 Hello, Your Arduino code looks okay. Please check if your UART TX pin from the PSOC4 BLE KIT is connected to correct RX pin on Arduino board. Also, before connecting the PSOC4 BLE KIT to Arduino board , you can use any serial terminal ( Tera-term /Putty) and can see if you are sending the data correctly over UART ( From CySmart-> PSoC BLE kit -> Serial Terminal). You need to connect the UART Tx pin to p1.5 to send the data over serial terminal when using PSoC 4 BLE Kit. -Gyan |
|
|
|
RX和TX引脚到位。我想知道PSoC源代码是否正确。
以上来自于百度翻译 以下为原文 The rx and tx pins are in place. I wonder if psoc source code is correct. |
|
|
|
在连接到ARDUINO之前,用串行终端检查PSoC代码。 您可以在这里附加PSoC源代码,以便每个人都可以查看它。 -吉安 以上来自于百度翻译 以下为原文 Check the PSoC Code with serial terminal before connecting to Arduino. You can attach your PSoC source Code here as well so that everyone can look into it. -Gyan |
|
|
|
图片中唯一的代码。有什么代码可以参考吗? 以上来自于百度翻译 以下为原文 The only code in the picture. Is there any code to refer to? |
|
|
|
如果所有的设计仅在CysCH映像文件内,那么您可以使用文件工具栏将最小存档包附加到论坛中,以便其他人查看您制作的示意文件。 以上来自于百度翻译 以下为原文 If all of the design is only within the .cysch image file, then you can attach a minimum archive bundle using the file-toolbar to a post to the forum for others to view the schematic file that you made. |
|
|
|
我想添加一个自定义服务的cysmart APP,这样的条件在Aduino相遇。我以字母A为例。但我不知道如何在PoSoC中加入数据。 Test1.CyWrk.CaseV01.Zip 1.8兆字节 以上来自于百度翻译 以下为原文 I want to add a custom service to the Cysmart app, so the condition is met in Aduino. I took the letter a as an example. But I don't know how to put data in psoc in Cysmart app.
|
|
|
|
60user141 发表于 2018-9-18 14:46 你好, 在项目中没有添加BLE功能。 我在这里附上了一个修改的项目。 测试步骤-gt; 1)对设备进行编程。 2)打开毛巾/油灰。 3)打开CyScript并连接到名为“test”的设备。 4)发现属性。 5)选择特征句柄“0x00 12” 6)写任何卡片的价值特征处理“0x0012”并点击“写值” 7)你可以看到串行终端的价值。 -吉安 设计01.CyPRJ.CaseV01.Zip 753.8 K 以上来自于百度翻译 以下为原文 Hello, You have not added BLE functionality in your project. I have attached a modified project here. Steps for Testing-> 1) Program the device. 2) Open the Teraterm/Putty. 3) Open CySmart and Connect to the device named as "Test". 4) Discover the attributes. 5) Select the characteristics handle " 0x0012" 6) Write any uint8 value to the characteristics handle " 0x0012" and click on 'Write value' 7) You can see the value on serial terminal. -Gyan
|
|
|
|
这是真的,已经解决了。 然而,你可以不懂源代码,那么请解释源代码。 以上来自于百度翻译 以下为原文 It is true that it has been resolved. However, you can not understand the source code, so please explain the source code. |
|
|
|
你好,OSCJWW3264266, 您可以从BLE组件数据表中找到源代码中使用的所有API的定义(右键单击BLE组件-GT;开放数据表)。 为了理解BLE协议,请参阅下面的文档。 HTTP://www. CyPress .COM/FIL/141171下载 也可以从下面的链接中引用更多的代码示例。所有项目都有与其相关的文档,它们描述了特定的项目功能。 PoSO-4-BLU/100IX项目在Suth.CyPress半导体公司/PSOC-4-BLE·GITHUB中的100100天 -吉安 以上来自于百度翻译 以下为原文 Hello aoscjw_3264286 , You can find the definition of all APIs used in the Source code from the BLE component datasheet ( Right Click on the BLE component -> Open Datasheet). -> To understand the BLE protocols ,please refer the below document. http://www.cypress.com/file/141171/download -> Also, you can refer some more code examples from the below link. All projects have their associated documents which describes the particular project functionality. PSoC-4-BLE/100_Projects_in_100_Days at master · cypresssemiconductorco/PSoC-4-BLE · GitHub -Gyan |
|
|
|
只有小组成员才能发言,加入小组>>
752个成员聚集在这个小组
加入小组2073 浏览 1 评论
1828 浏览 1 评论
3642 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1764 浏览 6 评论
1515 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
512浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
362浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
412浏览 2评论
359浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
864浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-27 04:53 , Processed in 1.044132 second(s), Total 92, Slave 76 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号