2

The DHT11 is a digital component with its own digital communication protocol. Analog pins can be used for either analog input or digital input and output. You can use a digital device like the DHT11 on any pin, whether it is labelled analog or digital (except on a couple of boards which have a few analog-only pins).


Only top voted, non community-wiki answers of a minimum length are eligible