MikroElektronika PIC Microcontrollers PIC16 Ficha de datos Pagina 178

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 194
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 177
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
Vista de pagina 177
1 2 ... 173 174 175 176 177 178 179 180 181 182 183 ... 193 194

Comentarios a estos manuales

Sin comentarios