esp-idf-lib/components/ht16k33/README.md

Sun, 10 Sep 2023 17:29:15 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 10 Sep 2023 17:29:15 +0200
changeset 37
50dbb626fbab
parent 1
1c9894662795
permissions
-rw-r--r--

Version 0.4.3. Attempt to fix the sunlight overflow of the APDS9930 sensor in the private part of the esp-idf-lib. Removed some error checks from functions that always return OK. Store light sensor registers in the state record and report the values in the json result string.

# HT16K33 driver

Driver for Holtek HT16K33 LED Controller.

## Usage

See the datasheet at https://www.holtek.com/documents/10179/116711/HT16K33v120.pdf .
Chip RAM is 16-byte memory where each bit represents idividual pixel.
It is possbile to change I2C address using jumpers, see the datasheet.

*  Init descriptor with `ht16k33_init_desc()`.
*  Init device with `ht16k33_init()`.
*  Optionally, set up brightness using `ht16k33_set_brightness()`.
*  Turn display on and set blinking mode using `ht16k33_display_setup()`. Unfortunately, its a single command in HT16K33.
*  Write RAM state to set individual pixels using `ht16k33_ram_write()`.
*  At the end, deinitialize using `ht16k33_free_desc()`.

See the example at `examples/ht16k33`.

mercurial