-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBottangoArduinoCallbacks.h
More file actions
26 lines (20 loc) · 883 Bytes
/
Copy pathBottangoArduinoCallbacks.h
File metadata and controls
26 lines (20 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef Callbacks_h
#define Callbacks_h
#include "Arduino.h"
class AbstractEffector;
namespace Callbacks
{
void onThisControllerStarted();
void onThisControllerStopped();
void onLateLoop();
void onEarlyLoop();
void onEffectorRegistered(AbstractEffector *effector);
void onEffectorDeregistered(AbstractEffector *effector);
void effectorSignalOnLoop(AbstractEffector *effector, int signal, bool didChange);
void onCurvedCustomEventMovementChanged(AbstractEffector *effector, float newMovement);
void onOnOffCustomEventOnOffChanged(AbstractEffector *effector, bool on);
void onTriggerCustomEventTriggered(AbstractEffector *effector);
void onColorCustomEventColorChanged(AbstractEffector *effector, byte newRed, byte newGreen, byte newBlue);
bool isStepperAutoHomeComplete(AbstractEffector *effector);
} // namespace Callbacks
#endif