From 4c9f33fc8858cc124fae3d9698dc53051f870ed8 Mon Sep 17 00:00:00 2001 From: Raymond Bourges Date: Wed, 4 Jun 2025 12:59:54 +0200 Subject: [PATCH] FEAT : Interupteur TV --- config/tv2.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/config/tv2.yaml b/config/tv2.yaml index 76ea036..f233a68 100644 --- a/config/tv2.yaml +++ b/config/tv2.yaml @@ -22,6 +22,17 @@ esp32: # Enable logging logger: +output: + - platform: gpio + pin: GPIO21 # essaie GPIO10 d'abord, si ça ne marche pas, tente GPIO21 + id: led_builtin + +# Fait clignoter la LED toutes les secondes +interval: + - interval: 1s + then: + - output.toggle: led_builtin + uart: tx_pin: GPIO17 # Il faut les inverser !!!! rx_pin: GPIO16