|
Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
|
alternate blinking of two PCF8547 pins More...
#include <Noiasca_PCF8574.h>
Public Member Functions | |
| AlternatingPCF8574 (PCF8574expander &hardware, uint8_t pin) | |
Public Member Functions inherited from Alternating< PCF8574_IF > | |
| void | begin () |
| start hardware More... | |
| void | setOnInterval (uint16_t onA, uint16_t onB) |
| set on/off times More... | |
| void | setOnInterval (uint16_t onA) |
| set on/off times More... | |
| void | setOnStateChange (Callback funcPtr) |
| set the callback function onStateChange More... | |
| void | on () |
| switch output on More... | |
| void | off () |
| switch output off More... | |
| void | toggle () |
| switch between on or off state | |
| void | update (uint32_t currentMillis=millis()) |
| check if update is necessary More... | |
alternate blinking of two PCF8547 pins
wrapper to alternate two PCF8547 pin. Inherits "style" class and composites PCF8547 pin.
|
inline |
| hardware | a reference to your PCF8574 object |
| pin | the first of two consecutive pixels on the expander to be used (also the next pixel will be used!) |