Git Product home page Git Product logo

bigcrystal's Introduction

BigCrystal

Arduino Library for displaying double height characters on an LCD display. This library is compatible with the standard LiquidCrystal library dictributed with the Arduino IDE and also with the New LiquidCrystal which is a drop in replacement for the standard library.

The New LiquidCrystal library supports connections to LCDs using

  • 4 bit parallel interface
  • 8 bit parallel interface
  • I2C expansion boards
  • Shift registers

Note that this version of the library is incompatible with version 1 to implement compatibility with the New LiquidCrystal library.

Contributors

Thanks to Bill Perry who reviewed the original code and suggested I base this library on the New LiquidCrystal library by F. Malpartida. Thak you also to Tim Eckel who wrote the LCDBitmap library whose code gave me insight on how to make this library compatible with both the standard LiquidCrystal and New LiquidCrystal libraries.

Usage

You must install the BigCrystal library into your Arduino library directory. Optionally, you can remove the standard LiquidCrystal library and replace it with the New LiquidCrystal library.

BigCrystal is implemented as a wrapper around an LCD object, created using either the standard or new LiquidCrystal libraries. The lcd object is passed through to the BigCrystal constructor.

BigCrystal exposes all LiquidCrystal public methods and delegates to the underlying object. This means that once the BigCrytal object is created, you just need to reference that instance instead of using both the BigCrystal instance and the underling LiquidCrystal instance.

The following methods are available to display double height characters:

  • writeBig(char c, uint8_t row, uint8_t col) - writes a single large character to the specified coordinates.
  • printBig(char* str, uint8_t row, uint8_t col) - writes a String to the specified coordinates.
  • widthBig(char c) - returns the width in characters of the specified large character. Includes the one column space following the character.

bigcrystal's People

Contributors

gregington avatar mithat avatar nw-wind avatar wmarkow avatar

Watchers

 avatar  avatar

Forkers

bbuehrig

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.