Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ercanersoy/pic-xc8-hd44780-library
PIC MPLABX HD44780 Library
https://github.com/ercanersoy/pic-xc8-hd44780-library
c character-lcd display hd44780 lcd lcd-library library microchip mplabx pic xc8 xc8-compiler xc8-toolchain
Last synced: 5 days ago
JSON representation
PIC MPLABX HD44780 Library
- Host: GitHub
- URL: https://github.com/ercanersoy/pic-xc8-hd44780-library
- Owner: ercanersoy
- License: mit
- Created: 2019-04-27T05:40:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-02T09:43:15.000Z (6 months ago)
- Last Synced: 2024-06-02T10:51:00.776Z (6 months ago)
- Topics: c, character-lcd, display, hd44780, lcd, lcd-library, library, microchip, mplabx, pic, xc8, xc8-compiler, xc8-toolchain
- Language: C
- Homepage:
- Size: 6.84 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PIC XC8 HD44780 Library
Copyright (C) 2019-2024 Ercan Ersoy
This LCD library is useful for more LCD applications.
This LCD library licensed by MIT License.
## Usage
This library supports only 2 row or 4 row LCDs. But, this library
doesn't support 40x4 dual controller LCDs.This library supports only 4 byte data connection.
_XTAL_FREQ, RS, RW, ENABLE and LCD_PORT must be defined at "HD44780.h"
header file.### void lcd_wait(void)
Wait for screen for send command or send data.
### void lcd_send_command(unsigned char command)
Send screen command.
### void lcd_send_data(unsigned char data)
Send screen data.
### void lcd_on_off_screen(void)
On or off screen.
### void lcd_clear(void)
Clear screen and put cursor on home position.
### void lcd_print(const char *s)
Print a string on screen.
### void lcd_goto_xy(unsigned char x, unsigned char y)
Put cursor to specified position.
### void lcd_prepare(void)
Initialize for screen for usage.
## Note
PIC is a registered trademark of Microchip Technology Incorporated.