Skip to content

This is a library for LCD functions in embedded C that can be deployed on certain atmega Microcontrollers

Notifications You must be signed in to change notification settings

kausic94/LCD-Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LCD-Library

---

This project was created to help anyone struggling with character LCD to prototype quickly. The project was done in the atmega platform. Particularly, for the ATmega32 and ATmega16 board.

The files kau_lcd.h and kau_lcd.c are the library files. You can either have them installed to your global header library or just put them in the directory with your main program file.

The default CPU has been defined at 16MHz. The character LCD (16x2) works in the 8 bit mode. The deafault port for control pins is PORTC in the ATmega board.To be specific:

         LCD-PIN    controller pin
         Enable        Port C 0
         RS            Port C 1
         R/W           Port C 2
         DATA          PORT D 0-7

All these are defined as macros in the header file.

I have also included a sample file "lcd_kausic.c" that demonstrates a simple functionality of the library.

Constructive criticism are welcomed.

About

This is a library for LCD functions in embedded C that can be deployed on certain atmega Microcontrollers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages