6.7 mikroC Pro for PIC LCD Functions
The mikroC Pro for PIC language provides a library of LCD functions for the HD44780 type controller. The library functions are based on using 4-bit interface. A list of the offered functions and their usage are described in this section.
6.7.1 Lcd_Init
This function initialises the LCD module and it must be called before any of the other LCD functions are called. The function is called with no arguments. Before the function is called, the interface between the microcontroller and the LCD must be defined using statements of the following format:


The configuration above assumes that the connection between the LCD and the microcontroller is as follows:

6.7.2 Lcd_Out
This function displays text on the LCD starting from specified row and column positions. Both string variables and literals can be passed as a text.
![]()
6.7.3 Lcd_Out_Cp
This function displays text at the current cursor position. Both string variables and literals can be passed as text.
6.7.4 Lcd_Chr
This function displays a single character at the specified row and column positions. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access