Class eva::Indicator¶
Basic indicator (LED) control.
#include <evaIndicator.h>
Inherited by the following classes: eva::BlinkingIndicator
Public Functions¶
| Type | Name |
|---|---|
| Indicator (unsigned pin, int activationLevel=HIGH) Constructor. |
|
| void | off () Turns the indicator off. |
| void | on () Turns the indicator on. |
Public Functions Documentation¶
function Indicator¶
Constructor.
eva::Indicator::Indicator (
unsigned pin,
int activationLevel=HIGH
)
Parameters:
pinArduino pin numberactivationLevelLevel that turns indicator on (LOW, HIGH, or PWM value)
function off¶
Turns the indicator off.
void eva::Indicator::off ()
function on¶
Turns the indicator on.
void eva::Indicator::on ()
The documentation for this class was generated from the following file src/evaIndicator.h