MikroElektronika PIC Microcontrollers PIC16 Datenblatt Seite 148

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 194
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 147
1 2 ... 143 144 145 146 147 148 149 150 151 152 153 ... 193 194

Kommentare zu diesen Handbüchern

Keine Kommentare