LCDDriver_NXP_Arduino 1.0.0
Temperature sensor device operation sample code for 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.
PCA8561AHN-ARD : Arduino® Shield Evaluation Board for LCD driver
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.
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 |
Use Library manager in Arduino IDE for easy install
Examples are provided as scketch files.
After library install, Choose menu on Arduino-IDE: File
→Examples
→LCDDrivers_NXP_Arduino
→ sketch for your try
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 |
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.
For details of the library, please find descriptions in this document.
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) | — |