Dtynin
Dtynin
How to Resolve DHT22 Sensor Driver Binding Issue with Zephyr OS on AVR32UC?
@Enthernet Code @melta101 @Camila_99$$ , sure here is my prj.conf file
CONFIG_SENSOR=y
CONFIG_DHT=y
CONFIG_DHT_TRIGGER=y
CONFIG_SENSOR=y
CONFIG_DHT=y
CONFIG_DHT_TRIGGER=y
and here is the relevant section of my device tree file
&gpio0 {
status = "okay";
dht22: dht22 {
compatible = "ams,dht22";
gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
};
};
&gpio0 {
status = "okay";
dht22: dht22 {
compatible = "ams,dht22";
gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
};
};
11 replies