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

bounce 5 LEDs on HT16K33 between left and right More...

#include <Noiasca_HT16K33.h>

Inheritance diagram for Bounce5HT16K33:
Bounce5< HT16K33 >

Public Member Functions

 Bounce5HT16K33 (HT16K33expander &ic, uint16_t pixel)
 
- Public Member Functions inherited from Bounce5< HT16K33 >
 Bounce5 (HT16K33 &obj)
 Bounce 5 LEDs between left and right. More...
 
void begin ()
 start hardware 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

bounce 5 LEDs on HT16K33 between left and right

wrapper to bounce a series of 5 HT16K33 outputs. Inherits "style" class and composites HT16K33

Note
the 5 ht16k33 pins must be in sequence (could be changed one day using HT16K33Group<5>)

Constructor & Destructor Documentation

◆ Bounce5HT16K33()

Bounce5HT16K33::Bounce5HT16K33 ( HT16K33expander ic,
uint16_t  pixel 
)
inline
Parameters
ica reference to your HT16K33 output
pixelthe first of 5 outputs on the HT16K33 to be used