Skip to content

Simple driver for LCD 16x2 management with chip HITACHI HD44780U compatible.

License

Notifications You must be signed in to change notification settings

HiHappyGarden/hhg-lcd-16x2-HD44780U

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

happy-gardenpi-driver

Simple driver for LCD 16x2 management with chip HITACHI HD44780U compatible.

At the moment, only the 4-bit configuration is tested.

To compile the module:

git clone https://github.com/HiHappyGarden/hhg-lcd-16x2-HD44780U.git
cd hhg-lcd-16x2-HD44780U
sudo make

To install the module:

sudo insmod hhg_lcd.ko gpio_rs=26 gpio_en=19 gpio_db4=13 gpio_db5=6 gpio_db6=5 gpio_db7=11

gpio_rs=x gpio_en=x gpio_db4=x gpio_db5=x gpio_db6=x gpio_db7=x correspond to the pins on the LCD as reported in the documentation linked below.

The above configuration has been tested on a Raspberry Pi 4.

To remove the module:

sudo rmmod hhg_lcd

To test:

echo hello_world > /dev/hhg_lcd

Documentation reference

About

Simple driver for LCD 16x2 management with chip HITACHI HD44780U compatible.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published