Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mathertel/liquidcrystal_pcf8574
A library for driving LiquidCrystal displays (LCD) by using the I2C bus and an PCF8574 I2C adapter.
https://github.com/mathertel/liquidcrystal_pcf8574
arduino arduino-library lcd liquidcrystal pcf8574
Last synced: about 2 months ago
JSON representation
A library for driving LiquidCrystal displays (LCD) by using the I2C bus and an PCF8574 I2C adapter.
- Host: GitHub
- URL: https://github.com/mathertel/liquidcrystal_pcf8574
- Owner: mathertel
- License: bsd-3-clause
- Created: 2016-09-19T09:01:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-06-27T20:20:04.000Z (over 1 year ago)
- Last Synced: 2024-10-11T11:54:44.679Z (2 months ago)
- Topics: arduino, arduino-library, lcd, liquidcrystal, pcf8574
- Language: C++
- Homepage: https://www.mathertel.de/Arduino/LiquidCrystal_PCF8574.aspx
- Size: 50.8 KB
- Stars: 132
- Watchers: 13
- Forks: 53
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Arduino Library for LiquidCrystal displays with I2C PCF8574 adapter
[![Arduino Library Checks](https://github.com/mathertel/LiquidCrystal_PCF8574/actions/workflows/arduino-checks.yml/badge.svg)](https://github.com/mathertel/LiquidCrystal_PCF8574/actions/workflows/arduino-checks.yml)
[![arduino-library-badge](https://www.ardu-badge.com/badge/LiquidCrystal_PCF8574.svg?)](https://www.ardu-badge.com/LiquidCrystal_PCF8574)
A library for driving LiquidCrystal displays (LCD) by using the I2C bus and an PCF8574 I2C adapter.
There are modules that can be soldered or stacked to the display that offers an I2C interface for communication instead of the 8+ digital lines that are used to send data to the display.
Most of these modules use the wiring that is supported by this library's default configuration.
If you use a module with a different wiring, you can use one of the class constructors which allow you to specify the pin assignments.See the web site for more details and pictures:
## Changes Version 2.2.0 (2023-04-03)
The default i2c address 0x27 is set as default parameter.
You can use an explicit i2c address with
``` cpp
LiquidCrystal_PCF8574 lcd(0x22); // set the LCD address to 0x22
```or you can rely on the default i2c address = 0x27 with
``` cpp
LiquidCrystal_PCF8574 lcd(); // use the default LCD address == 0x27
```See datasheet of PCF8574 (and PCF8574A) for further info on usable i2c addresses.
Thanks for contribution from @robaol
## Changes Version 2.1.0 (2022-08-21)
Enables using a non-default i2c / TwoWire port for boards that support multiple ports.
Added example `LCD_Burnin.ino` showing how to transfer a 20 char and 4 lines buffer to a device all at once.
Thanks for additions from @uutzinger
## Changes Version 2.0.0 (2022-05-26)
* The interface was modified to use 8-bit datatypes as supported by the underling hardware.
* A createChar version with PROGMEM character data for AVR processors was added.
* A constructor with pin assignments was added to allow easy adoption to other wirings than the default.Thanks for additions from @markisch.