Code Monkey home page Code Monkey logo

lcd_drivers_utils's Introduction

Description:

Libraries and sample program/utilities to send text to HD44780 LCD displays, written in a variety of languages: C, CPP, GO, RUST, Python and Bash.

alt text

Prerequisites:

I wrote this software avoiding useless dependencies: you need only the compiler in most cases. Only Mash requires i2c tools.

It's tested using this/these distributions of Linux:

  • Ubuntu 18.04.1 LTS
  • RaspberryOs (Debian GNU/Linux 11 (bullseye) ARM)

using, as compiler, one in this list:

  • clang version 6.0.0-1ubuntu2 aarch64-unknown-linux-gnu
  • g++ (Debian 10.2.1-6) 10.2.1 20210110
  • go1.10.4 linux/arm64
  • rustc 1.39.0

and with :

  • Python 3.6.9
  • Python 3.9.2
  • Bash 4.4.20(1)-release (aarch64-unknown-linux-gnu)

Harwdare:

I tested this software on:

  • NVidia Jetson Nano, using a 4 lines LCD display. Is required a board with GPIO/I2C.
  • Raspberry Pi 400 Rev 1.1 I have other hardware to test: I'll add information here asap.

Installation:

C/CPP version are the classic autotool setting, in Rust and Go a simple Makefile is available, with the classic directives (all, install , etc)

Documentation:

All compiled version have an installable man page. All the tools have a -h flag showing command line options.

Command Line Examples:

  • print the string 'Ip: 192.168.0.1' on row 1 (C version):
    simple_lcd -r1 -t 'Ip: 192.168.0.1'

  • Same example, using Rust version:
    simple_lcd_r -r1 -t'ethernet:'

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.