Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
|
simulate a flickering light like a fire on a PCF8547 pin More...
#include <Noiasca_PCF8574.h>
Public Member Functions | |
FlickerPCF8547 (PCF8574expander &hardware, uint8_t pin) | |
![]() | |
Flicker (PCF8574_IF &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 on a PCF8547 pin
wrapper to flicker a PCF8547 pin. Inherits "style" class and composites PCF8547 pin
|
inline |
hardware | a reference to your PCF8574 object |
pin | the pin on the expander to be used |