busukajw / pic-xc8-lcd-library

An LCD Library for 8 bit PIC microcontrollers written for the XC8 compiler.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description:

This is an LCD Library for 8 bit PIC microcontrollers written for the XC8 compiler. The library consists of two files, the lcd.c and the lcd.h. There is also the example.c file which contains a simple demo usage of library.

Hardware Support

The library has been tested with 16x2 and 20x4 LCD displays but is should work with any display up to 4 rows. As for the supported microcontrollers, currently the library has been tested only with the PIC16F876A, but it should work with most 8 bit PIC microcontrollers.

Simple Usage Example

LCD lcd = { &PORTC, 2, 3, 4, 5, 6, 7 };
LCD_Init(lcd);

LCD_Clear();
LCD_Set_Cursor(1,0);
LCD_putrs("  HELLO WORLD!  ");

About

An LCD Library for 8 bit PIC microcontrollers written for the XC8 compiler.

License:MIT License


Languages

Language:C 100.0%