Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
|
heartbeat - dims up and down permanentely More...
#include <Noiasca_LED.h>
Public Member Functions | |
BeatPin (byte pin, bool active=HIGH) | |
heartbeat LED More... | |
void | setMaxBrightness (byte maxBrightness) |
set the maximum brightness More... | |
void | setMinBrightness (byte minBrightness) |
set the minium brightness More... | |
void | on () override |
switch output on More... | |
void | off () override |
switch output off More... | |
void | update () |
run More... | |
![]() | |
GenericPin (byte pinA, bool active=HIGH) | |
generic output More... | |
void | begin () |
set the pin to the proper state More... | |
void | off () override |
switch output off More... | |
void | on () override |
switch output on More... | |
![]() | |
virtual void | on () |
switch output on More... | |
virtual void | off () |
switch output off More... | |
virtual void | setState (byte newState) |
set state of output to specific state More... | |
void | toggle () |
switch between on or off state | |
virtual void | update () |
run More... | |
heartbeat - dims up and down permanentely
The output will dimm up and down. You can define threashold for min and max dim level.
rework to enabe
make active working
|
inline |
heartbeat LED
pin | a PWM pin to connect a LED |
active | default HIGH means active HIGH (connect the other LED pin to GND) - not implmented yet. |
|
inline |
set the maximum brightness
The output will dimm up to this maximum level.
maxBrightness | the maximum brigthness (upper end of range) [0..255] |
|
inline |
set the minium brightness
The output will dimm down to this maximum level.
minBrightness | the minium brigthness (lower end of range) [0..255] |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlinevirtual |