ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
esphome::bh1745::BH1745InterruptPinOutput Class Reference

Drives the BH1745 INT pin, which switches the LEDs on breakout boards such as the Pimoroni one. More...

#include <bh1745_output.h>

Inheritance diagram for esphome::bh1745::BH1745InterruptPinOutput:
esphome::output::BinaryOutput esphome::Parented< BH1745Component >

Protected Member Functions

void write_state (bool state) override
 
- Protected Member Functions inherited from esphome::output::BinaryOutput

Additional Inherited Members

- Public Member Functions inherited from esphome::output::BinaryOutput
void set_inverted (bool inverted)
 Set the inversion state of this binary output.
 
void set_power_supply (power_supply::PowerSupply *power_supply)
 Use this to connect up a power supply to this output.
 
virtual void set_state (bool state)
 Enable or disable this binary output.
 
virtual void turn_on ()
 Enable this binary output.
 
virtual void turn_off ()
 Disable this binary output.
 
bool is_inverted () const
 Return whether this binary output is inverted.
 
- Public Member Functions inherited from esphome::Parented< BH1745Component >
 Parented ()
 
 Parented (BH1745Component *parent)
 
BH1745Component * get_parent () const
 Get the parent of this object.
 
void set_parent (BH1745Component *parent)
 Set the parent of this object.
 
- Protected Attributes inherited from esphome::output::BinaryOutput
bool inverted_ {false}
 
power_supply::PowerSupplyRequester power_ {}
 
- Protected Attributes inherited from esphome::Parented< BH1745Component >
BH1745Component * parent_
 

Detailed Description

Drives the BH1745 INT pin, which switches the LEDs on breakout boards such as the Pimoroni one.

Definition at line 11 of file bh1745_output.h.

Member Function Documentation

◆ write_state()

void esphome::bh1745::BH1745InterruptPinOutput::write_state ( bool state)
inlineoverrideprotectedvirtual

Implements esphome::output::BinaryOutput.

Definition at line 13 of file bh1745_output.h.


The documentation for this class was generated from the following file: