mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +01:00
Add output pin definition to hbridge fan example configuration (#1648)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
30fd62ecfe
commit
8cf5696338
@ -23,6 +23,14 @@ The `'hbridge`' fan platform allows you to use a compatible `h-bridge` (L298N, D
|
|||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
# Example configuration entry
|
# Example configuration entry
|
||||||
|
output:
|
||||||
|
- platform: ...
|
||||||
|
id: motor_forward_pin
|
||||||
|
pin: GPIO5
|
||||||
|
- platform: ...
|
||||||
|
id: motor_reverse_pin
|
||||||
|
pin: GPIO4
|
||||||
|
|
||||||
fan:
|
fan:
|
||||||
- platform: hbridge
|
- platform: hbridge
|
||||||
id: my_fan
|
id: my_fan
|
||||||
|
Loading…
Reference in New Issue
Block a user