valerionew / ht1621-7-seg

arduino library for 7-segment lcd based on ht1621 drivers
Other
19 stars 13 forks source link

HT1621 7 segment LCD Arduino library

Arduino library for 7-segment lcds based on the HT1621 driver. Very often marked as PDC-6X1.

photo

Based on the bitbanging efforts by anxzhu (2016-2018).
APIs rewritten in 2018 to follow the LiquidCrystal format by valerio\new.

TODO (help wanted)

APIs reference

Internal functioning

° -> 0x33 = 10 + 20 + 01 + 02
C -> 0x1D = 10 + 01 + 04 + 08

  _0b1 0000_
 |          |
 0b1        0b10 0000
 |___0b10___|
 |          |
 0b0100     0b0100 0000
 |__00b1000_|