MikroElektronika PIC Microcontrollers PIC16 Ficha de datos Pagina 145

  • 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 144
Programming PIC Microcontrollers in BASIC - mikroElektronika
5.2.18.2 Soft_I2C_Start – Issues START condition
Prototype sub procedure Soft_I2C_Start
Description Issues START condition.
Example
Soft_I2C_Start
5.2.18.3 Soft_I2C_Write – Send data byte via I2C bus
Prototype sub function Soft_I2C_Write(dim Data as byte) as byte
Description After you have issued a start signal you can send <Data> byte via I2C bus. The function returns 0 if there are no
errors.
Example
Soft_I2C_Write($A3)
5.2.18.4 Soft_I2C_Read – Receives byte from slave
http://www.mikroelektronika.co.yu/english/product/books/picbasicbook/05.htm (103 sur 112)05/11/2004 02:20:55
Vista de pagina 144
1 2 ... 140 141 142 143 144 145 146 147 148 149 150 ... 193 194

Comentarios a estos manuales

Sin comentarios