A portable driver library for the HT1621 LCD Controller IC.
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.
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.
- HT1621 Logic HLA - Used to decode HT1621 data in Saleae Logic for debugging.
MIT