Open Ragziesoft opened 1 year ago
gpio read 0
. It should output 0 if the pin is low and 1 if it is high.cc -Wall DHT.c -o DHT -lwiringPi
var axis, Log, config;
to var axis, Log;
module: "MMM-LocalTemperature",
position: "top_center",
header: "",
disabled: false,
config: {
sensorPin: 22, // GPIO 22, which is WiringPi pin 3
showTemperature: true,
showHumidity: true,
fontSize: 'small',
temperatureOffset: -1,
}
Hope this helps!
I have a DHT22 sensor on GPIO22. All installations have been made fresh and config.js checked. However, the modules fails to display the values I used a DHT.py script to check the sensor operation and it outputs readings from sensor. What can be the issue?