mirror of
https://github.com/esphome/esphome.git
synced 2026-09-30 08:20:21 +00:00
[remote_transmitter] Queue RMT transmissions instead of blocking the main loop
This commit is contained in:
@@ -5,6 +5,8 @@ remote_transmitter:
|
||||
non_blocking: true
|
||||
clock_resolution: ${clock_resolution}
|
||||
rmt_symbols: ${rmt_symbols}
|
||||
queue_depth: 4
|
||||
max_pending: 8
|
||||
|
||||
packages:
|
||||
buttons: !include common-buttons.yaml
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
substitutions:
|
||||
pin: GPIO2
|
||||
|
||||
remote_transmitter:
|
||||
- id: xmitr
|
||||
pin: ${pin}
|
||||
carrier_duty_percent: 50%
|
||||
non_blocking: true
|
||||
queue_depth: 1
|
||||
|
||||
packages:
|
||||
buttons: !include common-buttons.yaml
|
||||
Reference in New Issue
Block a user