Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
|
pulse a discrete Arduino pin (monoflop) More...
#include <Noiasca_discrete.h>
Public Member Functions | |
PulsePin (byte pin, uint8_t active=HIGH) | |
![]() | |
Pulse (DiscretePin &obj) | |
pulse an output for a period of time and than switches of More... | |
void | setOnInterval (uint32_t _onInterval) |
set interval times More... | |
void | off () override |
switch output off More... | |
void | toggle () |
switch between on or off state | |
void | update (uint32_t currentMillis=millis()) |
check if update is necessary More... | |
pulse a discrete Arduino pin (monoflop)
wrapper to pulse a discrete Arduino pin. Inherits from style class and composites DiscretePin.
|
inline |
pin | a discrete pin |
active | if the pin should be LOW active, set parameter to LOW. default is HIGH. |