User manual
18
mikoBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
HW Connection 440
RS-485 Library 440
Library Dependency Tree 441
External dependencies of RS-485 Library 441
Library Routines 441
RS485Master_Init 441
RS485Master_Receive 442
RS485Master_Send 442
RS485Slave_Init 443
RS485Slave_Receive 444
RS485Slave_Send 444
Library Example 445
HW Connection 448
Message format and CRC calculations 449
Software I²C Library 450
External dependencies of Software I²C Library 450
Library Routines 450
Soft_I2C_Init 451
Soft_I2C_Start 451
Soft_I2C_Read 452
Soft_I2C_Write 452
Soft_I2C_Stop 452
Soft_I2C_Break 453
Library Example 454
Software SPI Library 456
External dependencies of Software SPI Library 456
Library Routines 456
Soft_SPI_Init 457
Soft_SPI_Read 457
Soft_SPI_Write 458
Library Example 458
Software UART Library 460
Library Routines 460
Soft_UART_Init 460
Soft_UART_Read 461
Soft_UART_Write 461
Soft_UART_Break 462
Library Example 463
Sound Library 464
Library Routines 464
Sound_Init 464
Sound_Play 464
HW Connection 467
SPI Library 468
Library Routines 468
SPIx_Init 469