Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
|
heart beat a PCF8547 pin. More...
#include <Noiasca_PCF8574.h>
Public Member Functions | |
HeartbeatPCF8547 (PCF8574expander &hardware, uint8_t pin) | |
![]() | |
Heartbeat (PCF8574_IF &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... | |
heart beat a PCF8547 pin.
wrapper to heartbeat a PCF8547 pin. Inherits class heartbeat and composites PCF8547 pin
|
inline |
hardware | a reference to your PCF8574 object |
pin | the pin on the expander to be used |