Jdy40 Arduino Example Best _verified_ Info

#include <DHT.h> DHT dht(2, DHT11);

void setup() Serial.begin(9600); jdy.begin(9600); Serial.println("JDY-40 Receiver Waiting..."); jdy40 arduino example best

jdy40.println(packet); // println adds newline as delimiter delay(5000); // Send every 5 seconds #include &lt;DHT

To get the "best" results, this report recommends using the module in (Pass-through) with Hardware Serial where possible. void setup() Serial.begin(9600)