LCD.X

LCD.X

LCD library for the dsPIC33EV256GM102

Name Last Update
dist/default/production Loading commit data...
doxygen/latex Loading commit data...
images Loading commit data...
nbproject Loading commit data...
.gitignore Loading commit data...
Delay_ms.c Loading commit data...
Delay_short.c Loading commit data...
LCD.h Loading commit data...
LCDbusy.c Loading commit data...
LCDcommand.c Loading commit data...
LCDinit.c Loading commit data...
LCDinternal.h Loading commit data...
LCDletter.c Loading commit data...
LCDpulseEnableBit.c Loading commit data...
LCDputs.c Loading commit data...
LCDsend.c Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
doxyfile Loading commit data...
makedoc Loading commit data...

LCD library for the dsPIC33EVxxGMx02 on the dsPIC-EL-GM

This library provides capability to manipulate the LCD on the dsPIC-EL-GM. This LCD is a common 16 character by 2 line LCD character display module.

Implements the following functions:

  • LCDinit() - Initialize the LCD
  • LCDcommand() - Send a command byte to the LCD
  • LCDletter() - Send a data byte to the LCD
  • LCDputs() - Send a string to the LCD
  • Delay_ms() - Delay for a specified number of milliseconds

And the following macros:

  • LCDright() - Move the cursor to the right one character
  • LCDleft() - Move the cursor to the left one character
  • LCDshift() - Shift the LCD memory to the right relative to the display
  • LCDshiftLeft() - Shift the LCD memory to the left relative to the display
  • LCDshiftRight() - Shift the LCD memory to the right relative to the display
  • LCDclear() - Clear the LCD memory
  • LCDhome() - Set the LCD cursor to address 0
  • LCDline2() - Set the LCD cursor to address 0x40
  • LCDposition() - Position the LCD cursor
  • LCDcursorOn() - Make the LCD cursor visible
  • LCDcursorOff() - Make the LCD cursor invisible
  • LCDblinkOn() - Blink the character under the cursor
  • LCDblinkAndCursor() - Blink and show the cursor

The header file, LCD.h only exposes the 5 primary functions shown above. All the other LCD capabilities are provided through macros, mostly by calls to LCDcommand(). Three other functions are used by the library, but not exposed through LCD.h. They are, however, prototyped in LCDinternal.h. The relationships between the functions in the library is shown in the figure below:

Functions

\image latex Functions.png "" width=3in