An interrupt driven library for HD44780-based LCD displays
Switch branches/tags
Nothing to show
Clone or download
EarToEarOak Fix conversion warnings
Misc fixes
Latest commit c3248ce Sep 7, 2015
Type Name Latest commit message Commit time
Failed to load latest commit information.
doxygen Updated docs Jun 23, 2013
ldscripts Update to STM32CubeF4 v1.3.0 Feb 12, 2015
src Fix conversion warnings Sep 7, 2015
system Update to STM32CubeF4 v1.3.0 Feb 12, 2015
COPYING Added COPYING Jun 26, 2013
STM32F407VGTx.ioc Use PWM for contrast control on PB9 Sep 7, 2015 Update to STM32CubeF4 v1.3.0 Feb 12, 2015


Interrupt driven software for the ST Microelectronics STMF4 Cortex-M4 microcontroller to interface with a Hitachi-compatible HD44780 LCD module. Works in 4bit mode using 7 pins and is 5v compatible, tested on a STM32F4 Discovery with a variety of LCD modules.

Full details can be found here

Copyright 2013 - 2015 Al Brown

al [at]


Complete documentation can be found here.

A brief example is included in the source code.

Initialise the driver using:

hd44780_init(gpio, rs, rw, e, db4, db5, db6, db7, lines, font)


gpio - GPIO Port (GPIOA to GPIOE)

rs, rw, e, db4, db5, db6, db7 - Pins (GPIO_Pin_0 to GPIO_Pin_15)

lines - LCD lines (HD44780_LINES_1 or HD44780_LINES_2)

font- Font size (HD44780_FONT_5x8 or HD44780_FONT_5x10)


This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see