Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
|
Imitiate fluorescent lamp with a PCF8547 pin. More...
#include <Noiasca_PCF8574.h>
Public Member Functions | |
FluorescentPCF8547 (PCF8574expander &hardware, uint8_t pin) | |
![]() | |
Fluorescent (PCF8574_IF &obj) | |
simulate a fluroescent lamp or flurescent tube More... | |
uint16_t | getCurrentBrightness () |
get the current brightness More... | |
void | on () override |
switch on | |
void | off () override |
switch off | |
void | toggle () override |
switch between on or off state | |
void | update (uint32_t currentMillis=millis()) |
check if update is necessary More... | |
Imitiate fluorescent lamp with a PCF8547 pin.
wrapper for a Fluorescent imitating 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 |