|
Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
|
Simulate a flickering light like a fire. More...
#include <Noiasca_discrete.h>
Public Member Functions | |
| FlickerPin (byte pin) | |
Public Member Functions inherited from Flicker< DiscretePin > | |
| Flicker (DiscretePin &obj) | |
| simulate a flickering light like a fire More... | |
| void | off () override |
| switch off | |
| void | setMaxBrightness (uint8_t _maxBrightness) |
| set the maximum brightness More... | |
| void | toggle () |
| switch between on or off state | |
| void | update (uint32_t currentMillis=millis()) |
| check if update is necessary More... | |
Simulate a flickering light like a fire.
wrapper to Flicker a discrete pin. Inherits "style" class and composites DiscretePin
|
inline |
| pin | a discrete pin (PWM). UNO/NANO PWM pins are 3, 5, 6, 9, 10, 11 |