Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
|
a on/off one PCF8547 pin More...
#include <Noiasca_PCF8574.h>
Public Member Functions | |
OnOffPCF8547 (PCF8574expander &hardware, uint8_t pin) | |
![]() | |
void | off () override |
switch output off More... | |
void | on () override |
switch output off More... | |
uint16_t | getCurrentBrightness () |
get the current brightness More... | |
void | setMaxBrightness (uint8_t newBrightness) |
set the maximum brightness More... | |
void | toggle () |
switch between on or off state | |
a on/off one PCF8547 pin
wrapper for an simple on/off on a PCF8547 pin. This class provides a simple on() off() interface for a PCF8547 pin. There is no effect during runtime. Inherits class pulse and composites PCF8547 pin
|
inline |
hardware | a reference to your PCF8574 object |
pin | the pin on the expander to be used |