Code Monkey home page Code Monkey logo

tt_liquidcrystal's Introduction

Liquid Crystal Simplified Library for Arduino

This library allows an Arduino board to control LiquidCrystal displays (LCDs) based on the Hitachi HD44780 (or a compatible) chipset, which is found on most text-based LCDs.

Unlike regular Liquid Crystal library, this library supports button reading functionality.

For more information about this library please visit us at http://www.arduino.cc/en/Reference/LiquidCrystal

Written by Patrick Neggie, 2018 <[email protected]>

New Functions

// analog_pin on TinkerTech model LCDs are at pin 0, adjust if necessary
  int read_LCD_buttons(int analog_pin = 0);

  /*
   * prints which button was pressed to LCD display at (0,0)
   * by default LCD display stays empty unless lcd_print = true
   * if exclude_none = true and lcd_print = true,
   * LCD displays last pressed value
   * if serial_print is true, also prints button pressed to serial_print
   */
   int print_button_pressed(int lcd_key = btnNONE, bool lcd_print = false,
     bool serial_print = false, bool exclude_none = false);

Note:

This library was specifically tailored for these LCD displays. If you have that model or a similar display, the button reading functionality should work. This library was inspired by Mark Bramwell and his superb tutorial. Please check it out his work if you would like to learn more.

License

Copyright (C) 2006-2008 Hans-Christoph Steiner. All rights reserved. Copyright (c) 2010 Arduino LLC. All right reserved.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

tt_liquidcrystal's People

Contributors

patrick9958 avatar

Watchers

James Cloos avatar  avatar

Forkers

patrick9958

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.