This library is used to allow an Arduino device talk to the Holtek HT16K33 chip to control a 7-segment based display. Uses the I2C port and the Wired library.
- Arduino 5v -> Backpack +5v / +
- Arduino GND -> Backpack GND / -
- Arduino SDA -> Backpack SDA / D
- Arduino SCL -> Backpack SCL / C
Copy master folder onto your Arduino library
Simply import the file 'ht16k33.h' into your .ino
#include "ht16k33.h"
And then define the class, plus initilize it on the setup
HT16K33 HT;
void setup(){
HT.begin(0x00); // I2C address
}
It's included one complete example that demostrates how to use the library. Tested and working on this devices:
- Arduino Mega 2560
- Arduino Due