LCDDriver_NXP_Arduino 0.2.0
Temperature sensor device operation sample code for Arduino
Loading...
Searching...
No Matches
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 <LCDDriver.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() {
}
void puts(const char *s, int dly=0)
Definition: LCDDriver.cpp:36
void begin(void)
Definition: LCDDriver.cpp:19

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

Document

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

Related libraries

Library Feature Target devices Required library
GPIO_NXP_Arduino LED driver libraries PCAL6408A, PCAL6416A, PCAL6524, PCAL6534 I2C_device_Arduino
LEDDriver_NXP_Arduino LED driver libraries PCA9955B, PCA9956B, PCA9957 I2C_device_Arduino
RTC_NXP_Arduino RTC driver 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)