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

turnsignals for a car with 3 HT16K33 outputs. More...

#include <Noiasca_HT16K33.h>

Inheritance diagram for TurnsignalHT16K33:
Turnsignal< HT16K33Group< 3 > >

Public Member Functions

 TurnsignalHT16K33 (HT16K33expander &ic, byte pixelA, byte pixelB, byte pixelC)
 
- Public Member Functions inherited from Turnsignal< HT16K33Group< 3 > >
 Turnsignal (HT16K33Group< 3 > &obj)
 car Turn signal More...
 
void begin ()
 start hardware More...
 
void setInterval (uint16_t _on, uint16_t _off)
 set on/off times More...
 
void setOnColor (uint16_t actual, uint32_t _on)
 set on/off color More...
 
void left ()
 left turning signal on More...
 
void right ()
 right turning signal on More...
 
void hazard ()
 hazard turning signal on More...
 
void setOnStateChange (Callback funcPtr)
 set the callback function onStateChange More...
 
void update (uint32_t currentMillis=millis())
 check if update is necessary More...
 

Detailed Description

turnsignals for a car with 3 HT16K33 outputs.

wrapper for a turning signal with 3 HT16K33 outputs. Inherits "style" class and composites HT16K33.

Constructor & Destructor Documentation

◆ TurnsignalHT16K33()

TurnsignalHT16K33::TurnsignalHT16K33 ( HT16K33expander ic,
byte  pixelA,
byte  pixelB,
byte  pixelC 
)
inline
Parameters
ica reference to your ic object
pixelAthe pixel on the ic to be used for left
pixelBthe pixel on the ic to be used for right
pixelCthe pixel on the ic to be used for hazard light