完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
亲爱的所有人,对这个环境和C语言完全新手(有经验的BASIC程序员,但是C语言新手)。我的第一个“闪烁发光二极管”正在工作:o)现在,我正在寻找一个RFM69收发器库。我发现了一些用于Arduino IDE或用于旧的MPLAB/PIC18,但是没有任何东西可以简单地导入到一个新的MPLAB X p中。Roask.请任何人可以帮助我分享一些可用的MPLAB X?谢谢,最好的礼物
以上来自于百度翻译 以下为原文 Dear All, totally newbie with this environment and C language ( experienced BASIC programmer, but newbie with C). my first "blink led" is working :o) Now, i'm looking for an RFM69 transceiver library. i found some for Arduino IDE or for old MPLAB/PIC18 but nothing i can simply import in a new MPLAB X project. Please anyone can help me and share something usable with MPLAB X ? thanks, best regards Phil |
|
相关推荐
5个回答
|
|
谢谢,有价值的训练!但事实上,读C语言不是我的主要问题,而是写的是另一个世界!完全是MPLAB的新手,我想用RFM69收发器培训我。所以我的主要要求是“任何人都可以分享一些RFM69库,我可以直接导入到MPLAB X项目”?布雷菲尔
以上来自于百度翻译 以下为原文 thanks, valuable training ! but in fact, read C language is not my major problem, but write it is another world ! totally newbie with MPLAB, i would like training me with the RFM69 transceiver. so my primary request is "anybody can share some RFM69 library that i can directly import in MPLAB X project" ? br Phil |
|
|
|
您好,您所拥有的收音机似乎是想通过SPI通信连接到PIC32MM。请从Microchip网站下载PIC32MM的数据表,并从制造商或支持该设备的网络商店下载该收音机的数据表。我是在SparkFun找到的。o为PIC32毫米建立振荡器和系统时钟频率。还要配置一个SPI端口用于与收音机通信。数据表说SPI模式0,0在PIC上,这通常意味着:SPIxCONbits.CKP=0;SPxCONbits.CKE=1;使用:SPIxCONbits.SMP=1;您可以为芯片选择信号使用您选择的通用I/O端口引脚:NSS又名。政务司司长阿卡通过初始化,MCC应该创建一些功能来发送和接收来自广播的SPI字节。使用SPI进行实验,直到您能够读取无线电中的控制和状态寄存器的内容,并且这些内容与重置(内置)值相对应。
以上来自于百度翻译 以下为原文 Hi, The radio you have, seem to be intended to connect to PIC32MM by SPI communication. Download datasheet for PIC32MM from Microchip website, and datasheet for the radio from the manufacturer, or from a webshop supporting the device, I found it at SparkFun. You may play with MCC for PIC32MM in MPLAB, to set up oscillators and system clock frequency for the PIC32MM. Also configure a SPI port for communicating with the radio. Datasheet say SPI mode 0, 0 on PIC, this usually should mean something like: SPIxCONbits.CKP = 0; SPxCONbits.CKE = 1; try with: SPIxCONbits.SMP = 1; you may use a general I/O port pin of your choice for the Chip Select signal: NSS aka. CS aka. SS Together with initialization, MCC should create some functions to send and recieve SPI bytes from the radio. Experiment with SPI until you are able to Read contents of Control and Status registers in the radio, and these correspond with reset (built in) values. Then, you may figure out how to call SPI functions for the PIC, from library source code for the radio. Regards, Mysil |
|
|
|
在制造商网站上有样本PIC代码(HOPFF.com)
以上来自于百度翻译 以下为原文 There is sample PIC code on the manufacturers web site (hoperf.com) |
|
|
|
你好MySILY感谢您的答复,但再次,我的问题是不使用PIC CPU。我用它20年以来的基本编译器!我完全知道如何管理所有与PIC有关的外围设备和东西。我只想现在开始使用MPLAX。为此,我有一个简单的目标:玩我的RMM600模块,它链接到这个PIC32 CPU。为此,我希望找到一个已经为MPLAB X.siMung123编写的库:将有一个外观,但它肯定不是直接兼容MPLAB,它肯定是纯C(我将尽快核实!)如果我导入C/H文件,MPLAB肯定会抱怨一些错误/遗漏的句子。然后,我会被阻止..谢谢你的答复家伙,对不起,如果我的英语不是完美的!布雷菲尔
以上来自于百度翻译 以下为原文 Hi Mysil thanks for your reply, but again, my problem is not using PIC cpu .. i use it since 20 years with BASIC compiler ! i perfectly know how to manage all peripherals and stuff related to PIC. i just want to start using MPLAB X now. for that, i have a simple goal : play with my RFM69 module which is linked to this PIC32 cpu. for that, i wish to find a library already writing for MPLAB X. Simong123 : will have a look, but it surely not directly compatible with MPLAB, it's surely pure C (i will verify asap!). if i import C / H files, MPLAB will surely complain about some wrong/missing sentence .. and then, i will be blocked .. thanks for your reply guy, sorry if my english is not perfect ! br Phil |
|
|
|
只需从HopfWeb站点下载代码示例。MPLAB X导入项目。但是由于它是为PIC16CPU设计的,它让我对几个问题/警告感到温暖。现在我不知道如何修复这些问题……但是它是一个好的开始示例!…将尝试自己编写PIC32感谢这个项目
以上来自于百度翻译 以下为原文 well just download the code sample from hoperf web site. MPLAB X import the project. but as it is designed for PIC16 cpu, it warm me for several problems/warning. now i don't know how to fix theses problems ... but it's a good example to start !.. will try myself to compile this project for PIC32 thanks |
|
|
|
只有小组成员才能发言,加入小组>>
5163 浏览 9 评论
2000 浏览 8 评论
1928 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3174 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2226 浏览 5 评论
732浏览 1评论
615浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
505浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
631浏览 0评论
528浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-23 19:29 , Processed in 1.344253 second(s), Total 85, Slave 68 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号