ESPHome
2026.11.0b6
Loading...
Searching...
No Matches
esphome
components
output
button
output_button.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <cstdint>
4
5
#include "
esphome/components/button/button.h
"
6
#include "
esphome/components/output/binary_output.h
"
7
8
namespace
esphome::output
{
9
11
void
press_output_button
(button::Button *button, BinaryOutput *output,
uint32_t
duration
);
12
13
}
// namespace esphome::output
binary_output.h
button.h
duration
uint8_t duration
Definition
msa3xx.h:0
esphome::output
Definition
binary_output.h:10
esphome::output::press_output_button
void press_output_button(button::Button *button, BinaryOutput *output, uint32_t duration)
Turn the output on and off again after duration ms; a second press restarts the wait.
Definition
output_button.cpp:6
uint32_t
static void uint32_t
Definition
crash_handler.cpp:153
Generated by
1.12.0