|
Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
|
a heart beat LED on a discrete pin More...
#include <Noiasca_discrete.h>
Public Member Functions | |
| HeartbeatPin (byte pin) | |
Public Member Functions inherited from Heartbeat< DiscretePin > | |
| Heartbeat (DiscretePin &obj) | |
| heart beat LED More... | |
| uint16_t | getCurrentBrightness () |
| get the current brightness More... | |
| void | setCurrentBrightness (uint8_t brightness) |
| set the current brightness More... | |
| void | setMaxBrightness (uint8_t maxBrightness) |
| set the maximum brightness More... | |
| void | setMinBrightness (uint8_t minBrightness) |
| set the minium brightness More... | |
| void | on () override |
| switch on | |
| void | off () override |
| switch off | |
| void | toggle () |
| switch between on or off state | |
| void | update (uint32_t currentMillis=millis()) |
| check if update is necessary More... | |
a heart beat LED on a discrete pin
wrapper to heartbeat a discrete pin. Inherits from style class and composites DiscretePin
|
inline |
| pin | a discrete pin (PWM). UNO/NANO PWM pins are 3, 5, 6, 9, 10, 11 |