GithubHelp home page GithubHelp logo

acardace / hd44780u-rpi-linux-driver Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 159 KB

Hitachi HD44780U LCD Display Linux Kernel device driver

License: GNU General Public License v2.0

Makefile 3.50% C 96.50%
linux-kernel hitachi lcd-display device-driver raspberry-pi-3 embedded-linux

hd44780u-rpi-linux-driver's Introduction

HD44780U-RPi-Linux-Driver

Hitachi HD44780U LCD Display Linux Kernel device driver for Raspberry Pi, though it can be easily adapted for other boards, the driver itself only needs to know at which gpio pin is connected each pin of the LCD controller. Therefore the only thing to do is hooking up the Hitachi HD44780U to your board and supply the correct gpio numbering to the module parameters exposed by the device driver.

Writing to the LCD

$ echo 'Hello World!' > /dev/hitachi-lcd

Module Parameters

  • modeset: set display mode on module insertion (default = 1)
  • max_chars : available chars in the display matrix
  • pin_d4 : gpio pin number connected to the D4 port on the HD44780U
  • pin_d5 : gpio pin number connected to the D5 port on the HD44780U
  • pin_d6 : gpio pin number connected to the D6 port on the HD44780U
  • pin_d7 : gpio pin number connected to the D7 port on the HD44780U
  • pin_rs : gpio pin number connected to the RS port on the HD44780U
  • pin_rw : gpio pin number connected to the R/W port on the HD44780U
  • pin_e : gpio pin number connected to the E port on the HD44780U

In Action

alt text

About modeset

If the LCD is not powered down when unloading and loading the module the subsequent loadings must be done with modeset=0

hd44780u-rpi-linux-driver's People

Contributors

acardace avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

baonq-me

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.