ESPHome 2025.5.0
Loading...
Searching...
No Matches
status_led.h
Go to the documentation of this file.
1#pragma once
2
4#include "esphome/core/hal.h"
5
6namespace esphome {
7namespace status_led {
8
9class StatusLED : public Component {
10 public:
11 explicit StatusLED(GPIOPin *pin);
12
13 void pre_setup();
14 void dump_config() override;
15 void loop() override;
16 float get_setup_priority() const override;
17 float get_loop_priority() const override;
18
19 protected:
21};
22
23extern StatusLED *global_status_led; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
24
25} // namespace status_led
26} // namespace esphome
float get_loop_priority() const override
float get_setup_priority() const override
StatusLED * global_status_led
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7