mirror of
https://github.com/adafruit/DHT-sensor-library.git
synced 2023-10-23 22:20:38 +03:00
Clarified the Unified Sensor Lib requirement in examples & README
This commit is contained in:
@ -3,9 +3,9 @@
|
||||
// Written by Tony DiCola for Adafruit Industries
|
||||
// Released under an MIT license.
|
||||
|
||||
// Depends on the following Arduino libraries:
|
||||
// - Adafruit Unified Sensor Library: https://github.com/adafruit/Adafruit_Sensor
|
||||
// REQUIRES the following Arduino libraries:
|
||||
// - DHT Sensor Library: https://github.com/adafruit/DHT-sensor-library
|
||||
// - Adafruit Unified Sensor Library: https://github.com/adafruit/Adafruit_Sensor
|
||||
|
||||
#include <Adafruit_Sensor.h>
|
||||
#include <DHT.h>
|
||||
|
@ -1,6 +1,10 @@
|
||||
// Example testing sketch for various DHT humidity/temperature sensors
|
||||
// Written by ladyada, public domain
|
||||
|
||||
// REQUIRES the following Arduino libraries:
|
||||
// - DHT Sensor Library: https://github.com/adafruit/DHT-sensor-library
|
||||
// - Adafruit Unified Sensor Library: https://github.com/adafruit/Adafruit_Senso
|
||||
|
||||
#include "DHT.h"
|
||||
|
||||
#define DHTPIN 2 // what digital pin we're connected to
|
||||
|
Reference in New Issue
Block a user