Skip to content

edholmes2232/ht1621

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HT1621 LCD Driver

A portable driver library for the HT1621 LCD Controller IC.

Datasheet

HT1621B Datasheet

WRITE Mode Mapping

The HT1621 uses a continuous WRITE mode (ID 0b101). The library maps an 8-bit data array to the serial stream by taking the lower 4 bits (nibble) of each byte.

Stream:      [ Mode ] [ Address ] [  Data 0  ] [  Data 1  ] ... [  Data N  ]
Bits:        [ 1 0 1] [ A5...A0 ] [ D3...D0  ] [ D3...D0  ] ... [ D3...D0  ]
                                  ^            ^                ^
User Array:                       data[0]      data[1]          data[n]
                                  (0x0A)       (0x0F)           (0x05)

Note: The upper 4 bits of each byte in the user array are ignored.

Hardware Interface

The library supports GPIO Bit-banging and SPI interfaces via a port layer.

You must implement the functions defined in ht1621_port.h. An example port for STM32 is provided.

Tools

License

MIT

About

HT1621 LCD Controller Driver, with example STM32 port

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages