Giter VIP home page Giter VIP logo

lcdlib's Introduction

lcdlib

Library for EA-DOG LCDs, including font-generator (also usable with color LCD) Further information and discussion (in german) can be found at: http://www.mikrocontroller.net/topic/144500

The library works with various EA-DOG LCDs (see below) and ILI9341-based colour LCD using AVR microcontrollers. A version to be used with Arduino and e.g. a ESP8266 module is available in https://github.com/mueschel/lcdlib-arduino .

Files

dogm-graphic .c/.h

Provides all basic functions to access the display for

  • EA-DOGS102 GLCD (102px x 64px)
  • EA-DOGM128 GLCD (128px x 64px)
  • EA-DOGM132 GLCD (132px x 32px)
  • EA-DOGL128 GLCD (128px x 64px)
  • EA-DOGXL160 GLCD (160px x 104px)
  • EA-DOGXL240 GLCD (240px x 128px)
  • can be easily adapted for other displays with similar characteristics

Since no graphics ram is used, the memory footprint is rather small but also does not allow to change single pixels. Data written to the LCD can not be read back! Because of that, no drawing functions (lines, circles) are included. Thanks to Oliver Schwaneberg for adding several functions to this library!

font .c/.h

Font Generator designed for GLCD with memory organized in vertical bytes

Own character sets or symbols can easily be added: The structure of font data is compatible with Hagen Reddmanns FontEditor http://www.mikrocontroller.net/topic/99701#865331 when using the attached template_simplefont.c and template_simplefont.h files, saving in uncompressed format and using font heights of multiples of 8.

Fixed width fonts are treated as proportional fonts, but do not have a table for the width of each character (D'OH!)

When using with other GLCDs, make sure the byte orientation of the LCDs memory matches the design of the ea-dogm series or link the LCD access functions (see header file) to functions converting the data.

lcd-color-graphic .c/.h

An alternative lcd library controlling a LCD with an ILI9341 driver in 16 Bit color mode using 4-wire SPI or any other display with similar features. Just use this file instead of dogm-graphic. The function lcd_write_font_byte() provides the conversion from the font-generator byte format to the format used by the display.

Fonts/template_simplefont.c

A template file to be used with Hagen Reddmanns FontEditor to create compatible fonts.

lcdlib's People

Contributors

mueschel avatar

Watchers

 avatar

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.