Noiasca Tool Kit
Several helper functions and classes to make life with Arduino easier
Public Member Functions | List of all members
AlternatingHT16K33 Class Reference

alternate blinking of two HT16K33 outputs. More...

#include <Noiasca_HT16K33.h>

Inheritance diagram for AlternatingHT16K33:
Alternating< HT16K33 >

Public Member Functions

 AlternatingHT16K33 (HT16K33expander &ic, uint16_t pixel)
 
- Public Member Functions inherited from Alternating< HT16K33 >
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...
 

Detailed Description

alternate blinking of two HT16K33 outputs.

wrapper to alternate two HT16K33 outputs. Inherits "style" class and composites HT16K33

Constructor & Destructor Documentation

◆ AlternatingHT16K33()

AlternatingHT16K33::AlternatingHT16K33 ( HT16K33expander ic,
uint16_t  pixel 
)
inline
Parameters
ica reference to your HT16K33 object
pixelthe first of two pixels on the HT16K33 to be used (also the next pixel will be used!)