dsabala / hd44780

Dependency free, fail-safe, UTF-8 ready, HD44780 driver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependency free HD44780 driver

Github Issues Github Releases GitHub license

Yet another HD44780 C driver. It might fit your needs if you are interested in one of its core features:

  • dependency free - its free from any Arduino or STM HAL headers, neither standard library is used
  • decoupled from underlying drivers - using pointers to callback functions
  • multi-instantaneous - so more than one LCDs can be driven
  • support all communication modes 4bit and 8bit interface with busy flag read
  • CMake support
  • MIT license

Example

Usage example is available at https://github.com/dsabala/hd44780-example

Short:

  • implement all the callback functions being members of handler structure
  • pass handler to public API

Todo

  • bound blocking API block time and support assertions or returning fail status
  • support various LCD size (now it is fixed to 4x20)
  • support shifting text
  • single source file examples for popular platforms like Arduino or STM32

About

Dependency free, fail-safe, UTF-8 ready, HD44780 driver

License:MIT License


Languages

Language:C 99.1%Language:Assembly 0.8%Language:CMake 0.1%