mikroC
making it simple...
LCD8 Library (8-bit interface)
mikroC - C Compiler for Microchip PIC microcontrollers
mikroC provides a library for communicating with commonly used
Note: Be sure to designate Control and Data ports with LCD as output, before using any of the following functions.
Library Routines
Lcd8_Config
Lcd8_Init
Lcd8_Out
Lcd8_Out_Cp
Lcd8_Chr
Lcd8_Chr_Cp
Lcd8_Cmd
Lcd8_Config
Prototype | void Lcd8_Config(char *ctrlport, char *dataport, char RS, | |||||
| char | EN, | char | WR, | char | D7, char D6, char D5, char D4, char D3, |
| char | D2, | char | D1, | char | D0); |
Description Initializes LCD at Control port (ctrlport) and Data port (dataport) with pin settings you specify: Parameters RS, EN, and WR need to be in range
Example Lcd8_Config(PORTC,PORTD,0,1,2,6,5,4,3,7,1,2,0);
|
| page |
|
MikroElektronika: Development tools - Books - Compilers | 203 | ||
|
|