mikroC
mikroC - C Compiler for Microchip PIC microcontrollers
making it simple...
Prototype | void Lcd8_Init(char *ctrlport, char *dataport); | |
|
| |
Description | Initializes LCD at Control port (ctrlport) and Data port (dataport) with default pin set- | |
| tings (see the connection scheme at the end of the chapter): | |
| E | |
| D5 | |
| D0 | |
|
| |
Example | Lcd8_Init(PORTB, PORTC); | |
|
|
|
Prototype | void Lcd8_Out(char row, char col, char *text); |
Description Prints text on LCD at specified row and column (parameter row and col). Both string variables and literals can be passed as text.
Requires Ports with LCD must be initialized. See Lcd8_Config or Lcd8_Init.
Example | Lcd8_Out(1, 3, "Hello!"); // Print "Hello!" at line 1, char 3 |
|
| Prototype | void Lcd8_Out_Cp(char *text); |
| |
|
|
|
|
| |
|
| Description | Prints text on LCD at current cursor position. Both string variables and literals can be |
|
|
|
|
| passed as text. |
| |
|
|
|
|
| |
|
| Requires | Ports with LCD must be initialized. See Lcd8_Config or Lcd8_Init. |
|
|
|
|
|
|
| |
|
| Example | Lcd8_Out_Cp("Here!"); // Print "Here!" at current cursor position |
|
|
|
|
|
|
|
|
|
| page |
|
|
|
|
|
|
| ||
204 | MikroElektronika: Development tools - Books - Compilers | ||||
|
|
|