Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
|
#include <Noiasca_led.h>
Inherits LedBase< T >.
Public Member Functions | |
void | off () override |
switch output off More... | |
void | on () override |
switch output off More... | |
uint16_t | getCurrentBrightness () |
get the current brightness More... | |
void | setMaxBrightness (uint8_t newBrightness) |
set the maximum brightness More... | |
void | toggle () |
switch between on or off state | |
This class provides a simple on/off interface for an output. There is no effect during runtime. The class just provides access to hardware with an unified interface.
|
inlineoverride |
switch output off
Switch the output to off state.
|
inlineoverride |
switch output off
Switch the output to off state.
|
inline |
get the current brightness
The current brightness/level of this output
|
inline |
set the maximum brightness
The output will output this maximum level.
newBrightness | the new brigthness [0..255] |