mikroElektronika PIC Microcontrollers PIC12 User Manual page 206

Mikroc user's manual
Table of Contents

Advertisement

mikroC - C Compiler for Microchip PIC microcontrollers
Lcd_Init
Prototype
void Lcd_Init(char *port);
Description
Initializes LCD at port with default pin settings (see the connection scheme at the end of
the chapter): D7 -> PORT.7, D6 -> PORT.6, D5 -> PORT.5, D4 -> PORT.4,
E -> PORT.3, RS -> PORT.2.
Example
Lcd_Init(PORTB);
Lcd_Out
Prototype
void Lcd_Out(char row, char col, char *text);
Description
Prints
variables and literals can be passed as
Requires
Port with LCD must be initialized. See
Example
Lcd_Out(1, 3, "Hello!"); // Print "Hello!" at line 1, char 3
Lcd_Out_Cp
Prototype
void Lcd_Out_Cp(char *text);
Description
Prints
passed as
Requires
Port with LCD must be initialized. See
Example
Lcd_Out_Cp("Here!"); // Print "Here!" at current cursor position
page
198
on LCD at specified row and column (parameter
text
on LCD at current cursor position. Both string variables and literals can be
text
.
text
MikroElektronika: Development tools - Books - Compilers
row
.
text
or
Lcd_Config
Lcd_Init
or
Lcd_Config
Lcd_Init
mikroC
making it simple...
and
). Both string
col
.
.

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PIC Microcontrollers PIC12 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Pic microcontrollers pic16Pic microcontrollers pic18

Table of Contents