Datasheet

Programming PIC Microcontrollers in BASIC - mikroElektronika
convert bitmap (use menu option Tools > BMP2LCD) to constant array and display it on GLCD. These routines works with
commonly used GLCD 128x64, and work only with the PIC18 family.
5.2.11.1 GLCD_Config – Initializes GLCD with custom pin settings
Prototype
sub procedure GLCD_Config(dim byref Ctrl_Port as byte, dim byref Data_Port
as byte, dim Reset as byte, dim Enable as byte,dim RS as byte, dim RW as
byte, dim CS1 as byte, dim CS2 as byte)
Description Initializes GLCD at <Ctrl_Port> and <Data_Port> with custom pin settings.
Example
GLCD_LCD_Config(PORTB, PORTC, 1,7,4,6,0,2)
5.2.11.2 GLCD_Init – Initializes GLCD with default pin settings
Prototype sub procedure GLCD_Init(dim Ctrl_Port as byte, dim Data_Port as byte)
Description Initializes LCD at <Ctrl_Port> and <Data_Port>. With default pin settings Reset=7, Enable=1, RS=3, RW=5,
CS1=2, CS2=0.
Example
GLCD_LCD_Init(PORTB, PORTC)
http://www.mikroelektronika.co.yu/english/product/books/picbasicbook/05.htm (72 sur 112)05/11/2004 02:20:53