SkillAgentSearch skills...

Lcdpcf8574

Drive a HD44780 based LCD via I²C on Raspberry Pi - with just two pins.

Install / Use

/learn @retromuz/Lcdpcf8574
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

lcdpcf8574

Driver source code for HD44780 based LCD via I²C chip PCF8574 on Raspberry Pi. I have used PCF8574 I²C bus expander Chip for this purpose. This helps limited number of Raspberry Pi's pins to be better utilized. The best part is, those two pins also can be re-used because they are I²C pins, you can connect upto 127 additional devices.

Please take note that this code is based on the Python code posted by ufux at https://gist.github.com/ufux/6094977.

Schematics : https://raw.githubusercontent.com/karunadheera/lcdpcf8574/master/lcdpcf8574.png : https://raw.githubusercontent.com/karunadheera/lcdpcf8574/master/lcdpcf8574.svg

To build go to the source directory via a terminal.

$ make

$ sudo make install

That's it.

Enjoy!

View on GitHub
GitHub Stars7
CategoryDevelopment
Updated2y ago
Forks2

Languages

C++

Security Score

70/100

Audited on May 10, 2023

No findings