micro-ELC
|
load adjustor that switches relays or other switches on and off in a binary pattern More...
#include <LoadAdjustRelayParallelBinary.h>
Public Member Functions | |
LoadAdjustRelayParallelBinary (RelaysDriver &_relaysDriver, bool _activeRelaysIncreaseLoad=false) | |
load adjustor that switches relays or other switches on and off in a binary pattern More... | |
void | setLoad (float load) |
set a new value for the adjustable load More... | |
void | begin () |
set up pin states More... | |
virtual void | setLoad (float load)=0 |
set a new value for the adjustable load More... | |
virtual void | begin ()=0 |
set up pin states More... | |
Public Attributes | |
RelaysDriver & | driver |
bool | activeRelaysIncreaseLoad |
load adjustor that switches relays or other switches on and off in a binary pattern
|
inline |
load adjustor that switches relays or other switches on and off in a binary pattern
_relaysDriver | RelaysDriver for controlling relays or other switches |
_activeRelaysIncreaseLoad | (bool) true if resistors are through NO, false if through NC relay terminals |
|
inlinevirtual |
set up pin states
Implements LoadAdjust.
|
inlinevirtual |
set a new value for the adjustable load
load | between 0.0 and 1.0 where 1.0 is the highest load |
Implements LoadAdjust.
bool LoadAdjustRelayParallelBinary< N >::activeRelaysIncreaseLoad |
RelaysDriver& LoadAdjustRelayParallelBinary< N >::driver |