AwesomeStudioPedal
A programmable, multi-profile foot controller for DAWs, score readers, and studio automation
Loading...
Searching...
No Matches
non_send_action.h
Go to the documentation of this file.
1#pragma once
2#include "action.h"
3#include "i_led_controller.h"
4
11class LEDBlinkAction : public Action
12{
13private:
14 ILEDController& led;
15 uint32_t blinkCount;
16 uint32_t blinkDuration;
18public:
26 LEDBlinkAction(ILEDController& led, uint32_t blinkCount = 3, uint32_t blinkDuration = 200);
27
33 void execute() override;
34
40 bool isSendAction() const override { return false; }
41};
Base class for all pedal actions.
Definition action.h:12
Interface for LED control functionality.
Example of a non-send action that blinks an LED.
void execute() override
Executes the LED blink action.
bool isSendAction() const override
Checks if this action is a send action.