MikroElektronika PIC Microcontrollers PIC16 Fiche technique Page 148

  • 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 147
Programming PIC Microcontrollers in BASIC - mikroElektronika
Example
Soft_SPI_Read(dat)
5.2.19.3 Soft_SPI_Write – Sends data via SPI
Prototype sub procedure Soft_SPI_Write(dim Data as byte)
Description Routine writes <Data> to SSPBUF and immediately starts the transmission.
Example
Soft_SPI_Write(dat)
5.2.20 Software UART Library
BASIC provides routines which implement software UART. These routines are hardware independent and can be used with any
MCU. You can easily communicate with other devices via RS232 protocol . Simply use the functions and procedures described
below.
5.2.20.1 Soft_UART_Init – Initializes UART
http://www.mikroelektronika.co.yu/english/product/books/picbasicbook/05.htm (106 sur 112)05/11/2004 02:20:55
Vue de la page 147
1 2 ... 143 144 145 146 147 148 149 150 151 152 153 ... 193 194

Commentaires sur ces manuels

Pas de commentaire