Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
|
Switch on/off a PCF8547 pin smoothly. More...
#include <Noiasca_PCF8574.h>
Public Member Functions | |
SmoothPCF8547 (PCF8574expander &hardware, uint8_t pin) | |
![]() | |
Smooth (PCF8574_IF &obj) | |
dim up / down a LED dimms smoothly More... | |
void | offForced () |
force switch off More... | |
uint16_t | getCurrentBrightness () |
get the current brightness More... | |
void | getCurrentBrightness (uint16_t brightness) |
set the current brightness More... | |
void | setMaxBrightness (uint16_t newValue) |
set the maximum brightness More... | |
void | update (uint32_t currentMillis=millis()) |
check if update is necessary More... | |
Switch on/off a PCF8547 pin smoothly.
wrapper to smooth 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 |