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.
Loading...
Searching...
No Matches
SBK_HT16K33.h File Reference

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

Detailed Description

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.

Macro Definition Documentation

◆ HT16K33_BLINK_0HZ5

#define HT16K33_BLINK_0HZ5   0x06

◆ HT16K33_BLINK_1HZ

#define HT16K33_BLINK_1HZ   0x02

◆ HT16K33_BLINK_2HZ

#define HT16K33_BLINK_2HZ   0x04

◆ HT16K33_BLINK_OFF

#define HT16K33_BLINK_OFF   0x00

◆ HT16K33_CMD_DIMMING

#define HT16K33_CMD_DIMMING   0xE0

◆ HT16K33_CMD_KEYS

#define HT16K33_CMD_KEYS   0x40

◆ HT16K33_CMD_RAM

#define HT16K33_CMD_RAM   0x00

◆ HT16K33_CMD_ROWINT

#define HT16K33_CMD_ROWINT   0xA0

◆ HT16K33_CMD_SETUP

#define HT16K33_CMD_SETUP   0x80

◆ HT16K33_DISPLAY_OFF

#define HT16K33_DISPLAY_OFF   0x00

◆ HT16K33_DISPLAY_ON

#define HT16K33_DISPLAY_ON   0x01

◆ SBK_HT16K33_IS_DEFINED

#define SBK_HT16K33_IS_DEFINED