53 void setup()
override;
Copy of GPIOPin that is safe to use from ISRs (with no virtual functions)
Base class for all binary_sensor-type classes.
void dump_config() override
void loop() override
Check sensor.
gpio::InterruptType interrupt_type_
void set_pin(GPIOPin *pin)
float get_setup_priority() const override
Hardware priority.
GPIOBinarySensorStore store_
void setup() override
Setup pin.
void set_interrupt_type(gpio::InterruptType type)
void set_use_interrupt(bool use_interrupt)
ISRInternalGPIOPin isr_pin_
volatile bool last_state_
static void gpio_intr(GPIOBinarySensorStore *arg)
Providing packet encoding functions for exchanging data with a remote host.