Mikroelektronika MIKROE-742 데이터 시트

다운로드
페이지 532
Soft_UART_Write
367
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroPASCAL PRO for AVR
CHAPTER 6
Prototype
procedure Soft_UART_Write(udata: byte);
Returns
Nothing.
Description
This routine sends one byte via the Software UART bus.
Parameters : 
udata
: data to be sent.
Requires
Software UART must be initialized before using this function. See the
Soft_UART_Init routine.
Be aware that during transmission, software UART is incapable of receiving data –
data transfer protocol must be set in such a way to prevent loss of information.
Example
var some_byte : byte;
...
// Write a byte via Soft UART
some_byte := 0x0A;
Soft_UART_Write(some_byte);