Go Down

Topic: DHT with mc23017 (Read 308 times) previous topic - next topic

alextsutskov

I really need your help.
I connected the dht output to 0 pin mc23017.
What should I write in DHTPIN?

DHT dht(DHTPIN, DHT22);

AWOL

You're using an I/O extender?

The DHT library doesn't know anything about I/O extenders.

alextsutskov

That is, I can only use it to flash the LED?

wvmarle

The DHT sensor can not flash an LED.

The DHT sensor can not be read through a port extender of any type that I'm aware of.
Quality of answers is related to the quality of questions. Good questions will get good answers. Useless answers are a sign of a poor question.

alextsutskov

I talked about mc23017.

wvmarle

That should be the MCP23017 (there's no such thing as an MC23017), and it can do a lot more than flashing an LED.
Quality of answers is related to the quality of questions. Good questions will get good answers. Useless answers are a sign of a poor question.

Go Up