Datasheet

Soft_UART_Write
418
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroC PRO for AVR
CHAPTER 6
Prototype
void Soft_UART_Write(char udata);
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 infor-
mation.
Example
char some_byte = 0x0A;
...
// Write a byte via Soft Uart
Soft_UART_Write(some_byte);