Giter Club home page Giter Club logo

lcddriver_nxp_arduino's Introduction

LCDDriver_NXP_Arduino

LCD driver device operation sample code for Arduino

Note This library works with I2C_device library together. Please be sure the I2C_device library is imported in your environment before trying to build.

Boards
PCA8561AHN-ARD : Arduino® Shield Evaluation Board for LCD driver

What is this?

An Arduino library for I²C LCD driver with sample code.
This library provides simple API to display characters on the LCD.
Include device name header file (PCA8561.h) to use those class libraries.

With LCDDriver_NXP_Arduino library, characters can be shown by next sample code.

#include <PCA8561.h>

PCA8561 lcdd;

void setup() {
  Wire.begin();
  lcdd.begin();  // This is necessary to enable display; device goes into power-on mode

  lcdd.puts("BEER");
}

void loop() {
}

Supported device

Type# Header file Features Interface Evaluation board
PCA8561 PCA8561.h 18 X 4 LCD Segment Driver I²C Fast-mode (400KHz) PCA8561 18 × 4 LCD Segment Driver Arduino® Shield

Getting started

Use Library manager in Arduino IDE for easy install

What's inside?

Examples

Examples are provided as scketch files.

How to use?

After library install, Choose menu on Arduino-IDE: FileExamplesLCDDrivers_NXP_Arduinosketch for your try

List of sample code

Sketch Target Feature
PCA8561_simple PCA8561 Simple sample for just showing "TEST" on LCD
PCA8561_string_scroll PCA8561 Shows string scrolling feature
PCA8561_lib_test PCA8561 Test code for all library features

TIPS

If you need to use different I²C bus on Arduino, it can be done like this. This sample shows how the Wire1 on Arduino Due can be operated.

#include <PCA8561.h>

// PCA8561 lcdd; // This line was changed to below
PCA8561 lcdd(Wire1);

void setup() {
  // Wire.begin(); // This line was changed to below
  Wire1.begin();
  lcdd.begin();  // This is necessary to enable display; device goes into power-on mode

  lcdd.puts("BEER");
}

void loop() {
}

Document

For details of the library, please find descriptions in this document.

Related libraries

Library Feature Target devices Required library
GPIO_NXP_Arduino GPIO libraries PCAL6408A, PCAL6416A, PCAL6524, PCAL6534, PCA9555, PCA9554 I2C_device_Arduino
LCDDriver_NXP_Arduino LCD driver libraries PCA8561 I2C_device_Arduino
LEDDriver_NXP_Arduino LED driver libraries PCA9955B, PCA9956B, PCA9957 I2C_device_Arduino
MUX_SW_NXP_Arduino I²C mux/switch libraries PCA9846 I2C_device_Arduino
RTC_NXP_Arduino RTC libraries PCF2131, PCF85063A I2C_device_Arduino
TempSensor_NXP_Arduino Temperature sensor libraries LM75B, PCT2075, P3T1085 I2C_device_Arduino
I2C_device_Arduino Base library for I²C operations none (can be applied as base class for all I²C targets) ---

lcddriver_nxp_arduino's People

Contributors

teddokano 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.