Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.