rpi-i2c-lcd
is a simple driver to control LCD attached to Raspberry Pi, over i2c port expander.
- Supports write only operations for 2x16 dot matrix LCD.
- Prints string and single characters to LCD screen.
- Based on bcm2835 library.
#include "rpi-i2c-lcd.h"
in your code.
Call lcd_cursor_pos()
before lcd_put_str()
and lcd_put_char()
.
See example test-i2c-lcd.c
.
- Implemented from Python into C. lcd_i2c.py
- GPIO based LCD lib
- PCF8574 i2c port expander schematic
- Dot matrix LCD controller spec, HD44780
Distributed under the terms of the MIT license.
Copyright (c) 2019 positronics.engineer at yandex dot com.