|
SBK_HT16K33 library 1.0.0
Standalone Arduino library to control HT16K33 LED matrices or bar meters via I2C. Can be used directly or as a driver for SBK_BarDrive animations.
|
Arduino driver for controlling a single HT16K33 I2C LED matrix or bar meter. More...
#include <Arduino.h>#include <Wire.h>Go to the source code of this file.
Classes | |
| class | SBK_HT16K33 |
| I2C driver wrapper for HT16K33 compatible with SBK_BarMeter and SBK_BarDrive. More... | |
Macros | |
| #define | SBK_HT16K33_IS_DEFINED |
| #define | HT16K33_CMD_RAM 0x00 |
| #define | HT16K33_CMD_KEYS 0x40 |
| #define | HT16K33_CMD_SETUP 0x80 |
| #define | HT16K33_CMD_ROWINT 0xA0 |
| #define | HT16K33_CMD_DIMMING 0xE0 |
| #define | HT16K33_DISPLAY_OFF 0x00 |
| #define | HT16K33_DISPLAY_ON 0x01 |
| #define | HT16K33_BLINK_OFF 0x00 |
| #define | HT16K33_BLINK_1HZ 0x02 |
| #define | HT16K33_BLINK_2HZ 0x04 |
| #define | HT16K33_BLINK_0HZ5 0x06 |
Arduino driver for controlling a single HT16K33 I2C LED matrix or bar meter.
This class provides a simple API for communicating with HT16K33 LED drivers using I2C. It supports 8x16 LED matrix configurations and is compatible with SBK_BarDrive as an optional backend. The API mirrors SBK_MAX72xx to allow easy driver interchange.
| #define HT16K33_BLINK_0HZ5 0x06 |
| #define HT16K33_BLINK_1HZ 0x02 |
| #define HT16K33_BLINK_2HZ 0x04 |
| #define HT16K33_BLINK_OFF 0x00 |
| #define HT16K33_CMD_DIMMING 0xE0 |
| #define HT16K33_CMD_KEYS 0x40 |
| #define HT16K33_CMD_RAM 0x00 |
| #define HT16K33_CMD_ROWINT 0xA0 |
| #define HT16K33_CMD_SETUP 0x80 |
| #define HT16K33_DISPLAY_OFF 0x00 |
| #define HT16K33_DISPLAY_ON 0x01 |
| #define SBK_HT16K33_IS_DEFINED |