10#ifndef SEMF_OUTPUT_LEDBLINKING_H_
11#define SEMF_OUTPUT_LEDBLINKING_H_
36 void setOn()
override;
40 void setBlinking(
unsigned int onTime,
unsigned int offTime)
override;
Interface class for using a GPIO pin of the microcontroller.
Interface for a blinking led class.
Mode mode() const override
Returns the active mode of the led.
void setBlinking(unsigned int onOffTime) override
Starts blinking the led with the same on and off time.
LedBlinking(Gpio &ledPin, app::TimeBase &timebase, bool inverted=false)
Constructor.
LedBlinking(const LedBlinking &other)=delete
The SoftPwm class outputs a PWM signal on the given GPIO.
Interface for a blinking led class.
virtual ~LedBlinking()=default
A TimeBase is the bridge between e.g. a hardware timer (interrupt service routine) and TickReceiver o...