LCD class for a 16x2 LCD using the Hitachi HD44780 driver chip

Project: LCD library for Electrosmith’s Daisy Seed
Description: LCD class for a 16x2 LCD using the Hitachi HD44780 driver chip, using 4 bit parallell mode
Author: Staffan Melin, staffan.melin@oscillator.se
Project site: http://www.oscillator.se/opensource
Based on: HD44780-Stm32HAL by Olivier Van den Eede (https://github.com/4ilo/HD44780-Stm32HAL)

I needed some way for my Daisy Seed to speak to an LCD Keypad that I have used with Arduinos. The LCD is a 16x2 LCD using the Hitachi HD44780 driver chip.

I first tried to port the Arduino LiquidCrystal library, without success. Searching online, I found HD44780-Stm32HAL, by Olivier Van den Eede (https://github.com/4ilo/HD44780-Stm32HAL). I modified it, removed what I didn’t need, and turned it into a C++ class.

My LCD Keypad doesn’t have a RW line, but if you have it, connect it to ground.

For instructions on how to use it with your Daisy Seed, see test.cpp.

To use on other Daisys, I think you can replace the #include “daisy_seed.h” and the DaisySeed reference in Lcd::init().


Lcd is licensed under The MIT License (MIT)

3 Likes