Datasheet
Programming PIC Microcontrollers in BASIC - mikroElektronika
BASIC offers a comprehensive library for GLCD – refer to Chapter 5: Built-in and Library Routines for more 
information. Our following example demonstrates the possibilities of GLCD and the mentioned library. Note that the 
library works with PIC18 only.
program GLCD_test
 ' For PIC18
include "GLCD_128x64.pbas" ' You need to include GLCD_128x64 library
dim text as string[25]
main:
 PORTC = 0
 PORTB = 0
 PORTD = 0
 TRISC = 0
 TRISD = 0
 TRISB = 0
 GLCD_LCD_Init(PORTC, PORTD) ' default settings
 GLCD_Set_Font(FONT_NORMAL1)
http://www.mikroelektronika.co.yu/english/product/books/picbasicbook/07.htm (12 sur 16)05/11/2004 02:27:46










