Skip to content

Latest commit

 

History

History
 
 

ht16k33_alpha

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

HT16K33 4 character alphanumeric display

There are no print functions for addressing rows and columns. With such a small display I didn't see any point. All the print functions without the row and column parameters are available. A "." will get added to the previous character as the decimal point. All the same parameters for the i2c display can be used other than the dimensions. There are also lambda functions get_brightness and set_brightness for adjusting the brightness of the display. You can extend the display across multiple units.

Example:

i2c:    
  sda: D0
  scl: D1

display:
  - platform: ht16k33_alpha
    address: 0x70
    scroll: true
    scroll_speed: 250ms
    scroll_dwell: 2s
    scroll_delay: 3
    lambda: |-
      it.print("ABCD");
    secondary_displays:
      - address: 0x71

Optional parameters

scroll: defaults to false

scroll_speed: is the time between each movement, default 250ms

scroll_dwell: is the time to wait at the end before going back to the start, default 2s

scroll_delay: is the number (float, minimum 1) of scroll_speed cycles to wait at the beginning before starting to scroll, default 3

secondary_display: is a list of i2c devices where address: is required and i2c_id: is optional unless there is more than one i2c bus.