hi guys solve my some matter with mikroc usart terminal
i m using following program
data is sent but i m unable to see any received data on uart terminal
my program is
void main()
{
unsigned char MyError, Temp;
Soft_Uart_Init(PORTB, 0, 1, 9600, 0);
for(;
{
do
{
Temp = Soft_Uart_Read(&MyError); // Read a byte
} while(MyError);
Temp++;
Soft_Uart_Write(Temp); // Send the byte
// Increment byte
}
}
sent status sometimes gets red but mostly remains green
should i use another terminal for receiving , tell please where i m wrong.
i m using following program
data is sent but i m unable to see any received data on uart terminal
my program is
void main()
{
unsigned char MyError, Temp;
Soft_Uart_Init(PORTB, 0, 1, 9600, 0);
for(;
{
do
{
Temp = Soft_Uart_Read(&MyError); // Read a byte
} while(MyError);
Temp++;
Soft_Uart_Write(Temp); // Send the byte
// Increment byte
}
}
sent status sometimes gets red but mostly remains green
should i use another terminal for receiving , tell please where i m wrong.