Microchip
直播中

张玉梅

7年用户 180经验值
私信 关注
[问答]

有用于将PIC16F连接到单线DS18B20的C语言程序吗

你好:我在C中搜索例程,将DS18B20与PIC16F接口。有人已经和你分享了吗?感谢您的帮助。谢谢。

以上来自于百度翻译


      以下为原文

    Hello:
I'm searching for routines in C to interface a DS18B20 to a PIC16F. Anyone has already that and like to share?

Any help is appreciated.

Thanks

回帖(2)

陈晨

2019-1-16 10:48:06
Microchip中有代码和MaXIM网站上的代码。

以上来自于百度翻译


      以下为原文

    There is code in the Microchip Appnotes and on the Maxium website.
举报

李军林

2019-1-16 10:59:28
在这些william hill官网 上也有相当多的帖子。谷歌也有无数的点击量。虽然这是针对ARDUNO的,但是有些代码与你所要求的非常接近。不确定你的数据在做什么,这也会影响你的代码。有一条线的东西是TimeNo.HTPp//W8BH.NET/AVR/AVRMODI1.PDFBULD或寄生虫?有多少设备??

以上来自于百度翻译


      以下为原文

    There are quite a few posts on these Forums as well. Google has numerous hits too. Although this is for Arduino, there is some code that is pretty close to what you are asking. Not sure what you are doing with your data and that is going to also affect your code. The thing with One Wire is timing. http://w8bh.net/avr/AvrTherm1.pdf Powered or parasite ?? How many devices ??
 
举报

更多回帖

发帖
×
20
完善资料,
赚取积分