Arduino温度传感器lib git 库DS18B20 Dallas Temperature Control DallasTemperature函数库 - 云起网

云起网

您现在的位置是:首页> 二次开发 -> Arduino温度传感器lib git 库DS18B20 Dallas Temperature Control DallasTemperature函数库

Article

Arduino温度传感器lib git 库DS18B20 Dallas Temperature Control DallasTemperature函数库

云起网2018-10-11 二次开发546
Arduino温度传感器的git库文件

Arduino Library for Maxim Temperature Integrated Circuits

Usage

This library supports the following devices :


DS18B20

DS18S20 - Please note there appears to be an issue with this series.

DS1822

DS1820

MAX31820

You will need a pull-up resistor of about 5 KOhm between the 1-Wire data line and your 5V power. If you are using the DS18B20, ground pins 1 and 3. The centre pin is the data line '1-wire'.


We have included a "REQUIRESNEW" and "REQUIRESALARMS" definition. If you want to slim down the code feel free to use either of these by including


#define REQUIRESNEW 

or


#define REQUIRESALARMS

at the top of DallasTemperature.h


Finally, please include OneWire from Paul Stoffregen in the library manager before you begin.


以上是git库的readme.md介绍,详情访问:

https://github.com/milesburton/Arduino-Temperature-Control-Library

文章评论

共有0条评论来说两句吧...