Open ericwang321 opened 6 years ago
lora Dragino Lora Shield+ arduino+dht11 as lora end device send data the Ttn Network
but with (
https://github.com/dragino/Arduino-Profile-Examples/blob/master/libraries/Dragino/examples/LoRa/multi-nodes-with-temperature-sensor/LoRa_Simple_Client_DHT11/LoRa_Simple_Client_DHT11.ino
@goodcheney dht library problem?
https://github.com/RobTillaart/Arduino/archive/master.zip Copy the Arduino-master/libraries/DHTstable subfolder to the arduino library folder of your device. Change to if required.
use arduino 1.85
lora Dragino Lora Shield+ arduino+dht11 as lora end device send data the Ttn Network
when compile
__rror: 'dht' does not name a type
dht DHT; ^ XXXX\ Documents\Arduino\sketch_dht\sketch_dht.ino: In function 'void dhtTem()': sketch_dht:199: error: expected primary-expression before '.' token temperature = DHT.read11(DHT11_PIN); //Temperature detection__
) work fine
@goodcheney dht library problem?