adafruit_ht16k33.ht16k33

  • Authors: Radomir Dopieralski & Tony DiCola for Adafruit Industries
class adafruit_ht16k33.ht16k33.HT16K33(i2c, address=112)[source]

The base class for all displays. Contains common methods.

The blink rate. Range 0-3.

brightness(brightness)[source]

The brightness. Range 0-15.

fill(color)[source]

Fill the whole display with the given color.

show()[source]

Refresh the display and show the changes.

Matrix Displays

class adafruit_ht16k33.matrix.Matrix16x8(i2c, address=112)[source]

A double matrix or the matrix wing.

pixel(x, y, color=None)[source]

Get or set the color of a given pixel.

class adafruit_ht16k33.matrix.Matrix8x8(i2c, address=112)[source]

A single matrix.

pixel(x, y, color=None)[source]

Get or set the color of a given pixel.

class adafruit_ht16k33.matrix.Matrix8x8x2(i2c, address=112)[source]

A bi-color matrix.

fill(color)[source]

Fill the whole display with the given color.

pixel(x, y, color=None)[source]

Get or set the color of a given pixel.

Segment Displays

class adafruit_ht16k33.segments.Seg14x4(i2c, address=112)[source]

Alpha-numeric, 14-segment display.

hex(number)[source]

Display the specified hexadecimal number.

number(number)[source]

Display the specified decimal number.

push(char)[source]

Scroll the display and add a character at the end.

put(char, index=0)[source]

Put a character at the specified place.

scroll(count=1)[source]

Scroll the display by specified number of places.

text(text)[source]

Display the specified text.

class adafruit_ht16k33.segments.Seg7x4(i2c, address=112)[source]

Numeric 7-segment display. It has the same methods as the alphanumeric display, but only supports displaying decimal and hex digits, period and a minus sign.

push(char)[source]

Scroll the display and add a character at the end.

put(char, index=0)[source]

Put a character at the specified place.

scroll(count=1)[source]

Scroll the display by specified number of places.