17 m_extInterrupt(&extInterrupt)
22void DigitalInInt::onChanged()
24 if (
state() == State::High)
Base class for having access to the level state of a digital input.
State state() const override
Returns the level status of the hardware pin.
DigitalInInt(ExternalInterrupt &extInterrupt, Gpio &gpio, bool inverted=false)
Constructor.
Interface for using a external interrupt.
Interface class for using a GPIO pin of the microcontroller.
void connect(SlotBase< Arguments... > &slot)
Connect a method to the signal.