micro-ELC
Public Member Functions | List of all members
LoadAdjust Class Referenceabstract

This class defines an interface for any type of adjustable electrical load. More...

#include <LoadAdjust.h>

Inheritance diagram for LoadAdjust:
Inheritance graph
[legend]

Public Member Functions

virtual void setLoad (float load)=0
 set a new value for the adjustable load More...
 
virtual void begin ()=0
 set up pin states More...
 

Detailed Description

This class defines an interface for any type of adjustable electrical load.

Member Function Documentation

◆ begin()

virtual void LoadAdjust::begin ( )
pure virtual

◆ setLoad()

virtual void LoadAdjust::setLoad ( float  load)
pure virtual

set a new value for the adjustable load

Parameters
loadbetween 0.0 and 1.0 where 1.0 is the highest load

Implemented in LoadAdjustAnalogWrite, LoadAdjustCoarseFine, and LoadAdjustRelayParallelBinary< N >.


The documentation for this class was generated from the following file: