Clarified the Unified Sensor Lib requirement in examples & README

This commit is contained in:
Phillip Burgess
2019-01-14 16:35:30 -08:00
parent b781f5998d
commit d26e8ec729
3 changed files with 15 additions and 12 deletions

View File

@ -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>

View File

@ -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