We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93c4218 commit ad062c7Copy full SHA for ad062c7
arduino.ino
@@ -1,6 +1,6 @@
1
//Define and include Libraries
2
#define USE_ARDUINO_INTERRUPTS true
3
-#define dht_apin A0 // Analog Pin Temperature sensor is connected to
+#define dht_analog_pin A0 // Analog Pin Temperature sensor is connected to
4
#include "dht.h" // Temperature sensor library, this needs to be downloaded
5
#include <PulseSensorPlayground.h> // heartbeat sensor library, in the official repos
6
@@ -36,7 +36,7 @@ void loop()
36
int MyBPM = heartbeat.getBeatsPerMinute(); // get the BPM
37
heartbeat.pause();
38
delay(100);
39
- DHT.read11(dht_apin); // Initialize reading of temperature
+ DHT.read11(dht_analog_pin); // Initialize reading of temperature
40
float MyTemp = DHT.temperature; // Set temperature value.
41
heartbeat.resume();
42
time_in_millis = millis();
0 commit comments