mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-28 17:48:35 +01:00
28 lines
536 B
ReStructuredText
28 lines
536 B
ReStructuredText
DHT12 Temperature/Humidity Sensor
|
|
=================================
|
|
|
|
Example Usage
|
|
-------------
|
|
|
|
.. code-block:: cpp
|
|
|
|
// Basic
|
|
App.make_dht12_sensor("Outside Temperature", "Outside Humidity");
|
|
|
|
.. cpp:namespace:: nullptr
|
|
|
|
See :cpp:func:`Application::make_dht12_sensor`.
|
|
|
|
API Reference
|
|
-------------
|
|
|
|
.. cpp:namespace:: nullptr
|
|
|
|
.. doxygentypedef:: sensor::DHT12TemperatureSensor
|
|
.. doxygentypedef:: sensor::DHT12HumiditySensor
|
|
|
|
.. doxygenclass:: sensor::DHT12Component
|
|
:members:
|
|
:protected-members:
|
|
:undoc-members:
|