MikroElektronika PIC Microcontrollers PIC16 Fiche technique Page 178

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 194
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 177
1 2 ... 173 174 175 176 177 178 179 180 181 182 183 ... 193 194

Commentaires sur ces manuels

Pas de commentaire